TransitioningContentControl.OnContentChanged(object, object) method¶
Defined in
Type: TransitioningContentControl
Namespace: ReactiveUI.Reactive
Assembly: ReactiveUI.Wpf.Reactive.dll
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net462, net481, net471
protected override void OnContentChanged(object oldContent, object newContent)
Summary: Called when the value of the Content property changes.
Parameters
| Name | Type | Description |
|---|---|---|
oldContent | object | The previous content value. |
newContent | object | The new content value. |
Remarks
This override queues and begins a transition (when possible) before invoking the base implementation.
If the required template parts are not available, or the control is already transitioning, the new content is
applied immediately without animation.