Class TransitioningContentControl
- Namespace
- ReactiveUI
- Assembly
- ReactiveUI.Wpf.dll
A ContentControl that animates the transition when its content is changed.
[TemplatePart(Name = "PART_Container", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "PART_PreviousImageSite", Type = typeof(Image))]
[TemplatePart(Name = "PART_CurrentContentPresentationSite", Type = typeof(ContentPresenter))]
[TemplateVisualState(Name = "Normal", GroupName = "PresentationStates")]
public class TransitioningContentControl : ContentControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild
- Inheritance
-
Transitioning
Content Control
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
TransitioningContentControl()
Initializes a new instance of the Transitioning
Fields
TransitionDirectionProperty
System.
Field Value
- Dependency
Property
TransitionDurationProperty
System.
Field Value
- Dependency
Property
TransitionProperty
System.
Field Value
- Dependency
Property
Properties
Direction
Gets or sets the transition direction.
Property Value
- Transitioning
Content .TransitionControl Direction The direction.
Duration
Gets or sets the transition duration.
Property Value
- Time
Span The duration.
Transition
Gets or sets the transition.
Property Value
- Transitioning
Content .TransitionControl Type The transition.
Methods
OnApplyTemplate()
OnContentChanged(object, object)
Called when the value of the Content property changes.
Parameters
oldContentobjectThe old value of the Content property.
newContentobjectThe new value of the Content property.
Events
TransitionCompleted
Occurs when a transition has completed.
Event Type
TransitionStarted
Occurs when a transition has started.