ClassOrientedAnimation
Class
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:
Inherited Members
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
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.