Class
ClrTransition

A class that lays infrastructure for CLR run transitions. Animations are created by overriding the OnProgressChanged method.

Definition

Namespace:Telerik.Windows.Controls.TransitionControl

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public abstract class ClrTransition : Transition

Inheritance: objectTransitionClrTransition

Derived Classes: FadeClrTransitionSlideAndZoomCLRTransition

Inherited Members Transition.NotifyAnimationCompleted()Transition.Context

Constructors

ClrTransition()

Declaration

cs-api-definition
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

cs-api-definition
public static readonly DependencyProperty ProgressProperty

Field Value

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

cs-api-definition
public double Progress { get; set; }

Property Value

double

Methods

AnimationCompletedOverride()

Stop the animation and clean up the objects modified in OnPlayAnimation.

Declaration

cs-api-definition
protected override void AnimationCompletedOverride()

Overrides Transition.AnimationCompletedOverride()

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

cs-api-definition
protected abstract void OnProgressChanged(double oldProgress, double newProgress)

Parameters

oldProgress

double

The old progress of the transition.

newProgress

double

The new progress of the transition.

StartAnimationOverride()

Prepare the objects and begin a transition animation.

Declaration

cs-api-definition
protected override void StartAnimationOverride()

Overrides Transition.StartAnimationOverride()