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

Base class for all animation classes that have direction.

Definition

Constructors

C#
protected OrientedAnimation()

Properties

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

C#
public AnimationDirection Direction { get; set; }

Methods

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

C#
protected T GetValueDependingOnDirection<T>(T valueIn, T valueOut)
Parameters:valueInT

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

valueOutT

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.