Class OrientedAnimation
Base class for all animation classes that have direction.
Inherited Members
Namespace: Telerik.Windows.Controls.Animation
Assembly: Telerik.Windows.Controls.dll
Syntax
public abstract class OrientedAnimation : BaseAnimation
Constructors
OrientedAnimation()
Declaration
protected OrientedAnimation()
Properties
Direction
Gets or sets a value indicating whether the animated object is coming in or out of view.
Declaration
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
protected T GetValueDependingOnDirection<T>(T valueIn, T valueOut)
Parameters
T
valueIn
The value to be returned if the current Direction is In. |
T
valueOut
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. |
Type Parameters
T
The type that will be used. |