New to Telerik UI for WinForms? Start a free 30-day trial

Stores the optional endpoints, interruption state, and active property animation for a carousel item's path transition.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class CarouselPathAnimationData

Inheritance: objectCarouselPathAnimationData

Constructors

Initializes animation data with unspecified endpoints and no active animation.

C#
public CarouselPathAnimationData()

Fields

Indicates that endpoints at opposite infinities should use the path's special direction-handling logic.

C#
protected bool specialHandling

Properties

Gets or sets the animated property setting created for this transition.

C#
public AnimatedPropertySetting CurrentAnimation { get; set; }

Gets or sets the starting carousel-location value. A null value lets the path use the item's current position.

C#
public double? From { get; set; }

Gets or sets whether the currently running item animation should be stopped before this transition is applied. For an out transition, true also keeps the item in the container when the animation completes; false allows it to be removed.

C#
public bool Interrupt { get; set; }

Gets or sets the target carousel-location value. When null, the path resolves it to positive infinity and treats it as an out transition.

C#
public double? To { get; set; }

Methods

Determines whether the target represents an out transition by checking for a non-finite target value.

C#
public virtual bool IsOutAnimation()
Returns:

bool

true when To is NaN or infinite; false when it is finite or null.