Skip to content

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)

View source

Summary: Called when the value of the Content property changes.

Parameters

NameTypeDescription
oldContentobjectThe previous content value.
newContentobjectThe 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.