TransitioningContentControl.OnContentChanged(object, object) method¶
Defined in
Type: TransitioningContentControl
Namespace: ReactiveUI.Reactive
Assembly: ReactiveUI.Wpf.Reactive.dll
Applies to
net11.0-windows10.0.19041, net11.0-windows7.0, net11.0-windows10.0.19041, net10.0-windows7.0, net10.0-windows10.0.19041, net10.0-windows10.0.19041, net47, net471, net472, net481, net48
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.