Class
OrientedAnimation

Base class for all animation classes that have direction.

Definition

Namespace:Telerik.Windows.Controls.Animation

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public abstract class OrientedAnimation : BaseAnimation

Inheritance: objectRadAnimationBaseAnimationOrientedAnimation

Derived Classes: FadeAnimationRadDoubleAnimationScaleAnimationSlideAnimation

Inherited Members BaseAnimation.CreateAnimation(FrameworkElement)BaseAnimation.UpdateAnimation(FrameworkElement, Storyboard, params object[])BaseAnimation.CreateAnimationOverride(FrameworkElement, FrameworkElement)BaseAnimation.UpdateAnimationOverride(FrameworkElement, Storyboard, FrameworkElement, params object[])BaseAnimation.EasingBaseAnimation.DurationBaseAnimation.TargetElementNameRadAnimation.AnimationNameRadAnimation.RepeatBehaviorRadAnimation.AutoReverseRadAnimation.SpeedRatio

Constructors

OrientedAnimation()

Declaration

cs-api-definition
protected OrientedAnimation()

Properties

Direction

Gets or sets a value indicating whether the animated object is coming in or out of view.

Declaration

cs-api-definition
public AnimationDirection Direction { get; set; }

Property Value

AnimationDirection

Methods

GetValueDependingOnDirection<T>(T, T)

If the current Orientation of the animation is In, returns the inValue, otherwise - the outValue.

Declaration

cs-api-definition
protected T GetValueDependingOnDirection<T>(T valueIn, T valueOut)

Parameters

valueIn

T

The value to be returned if the current Direction is In.

valueOut

T

The value to be returned if the current Direction is Out.

Returns

T

If the current Orientation of the animation is In - the inValue, otherwise - the outValue.