Class ClrTransition
A class that lays infrastructure for CLR run transitions. Animations are created by overriding the OnProgressChanged method.
Namespace: Telerik.Windows.Controls.TransitionControl
Assembly: Telerik.Windows.Controls.dll
Syntax
public abstract class ClrTransition : Transition
Constructors
ClrTransition()
Declaration
protected ClrTransition()
Fields
ProgressProperty
Identifies the Progress property. When its value is 0.0 the effect shows the initial state of the transition, when 1.0 - the final state.
Declaration
public static readonly DependencyProperty ProgressProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Progress
Gets or sets the Progress variable within the shader. When its value is 0.0 the effect shows the initial state of the transition, when 1.0 - the final state.
Declaration
public double Progress { get; set; }
Property Value
System.Double
|
Methods
AnimationCompletedOverride()
Stop the animation and clean up the objects modified in OnPlayAnimation.
Declaration
protected override void AnimationCompletedOverride()
Overrides
OnProgressChanged(Double, Double)
This method is called when the progress of the transition is changed. When overridden it should take care of moving the transition.
Declaration
protected abstract void OnProgressChanged(double oldProgress, double newProgress)
Parameters
System.Double
oldProgress
The old progress of the transition. |
System.Double
newProgress
The new progress of the transition. |
StartAnimationOverride()
Prepare the objects and begin a transition animation.
Declaration
protected override void StartAnimationOverride()