New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public abstract class ClrTransition : Transition

Inheritance: objectTransitionClrTransition

Derived Classes: FadeClrTransitionSlideAndZoomCLRTransition

Inherited Members Transition.NotifyAnimationCompleted()Transition.Context

Constructors

C#
protected ClrTransition()

Fields

ProgressProperty

DependencyProperty

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.

C#
public static readonly DependencyProperty ProgressProperty

Properties

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.

C#
public double Progress { get; set; }

Methods

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

C#
protected override void AnimationCompletedOverride()

Overrides: Transition.AnimationCompletedOverride()

This method is called when the progress of the transition is changed. When overridden it should take care of moving the transition.

C#
protected abstract void OnProgressChanged(double oldProgress, double newProgress)
Parameters:oldProgressdouble

The old progress of the transition.

newProgressdouble

The new progress of the transition.

Prepare the objects and begin a transition animation.

C#
protected override void StartAnimationOverride()

Overrides: Transition.StartAnimationOverride()