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

Represents a custom made ellipse path which will be used to specify the path travelled by carousel items when animated

Definition

Constructors

C#
public CarouselEllipsePath()

Properties

Gets or sets the origin from which the two path axis vectors are evaluated.

C#
public Point3D Center { get; set; }

Gets or sets the angle in degrees used to calculate FinalPathPoint. Parameterized evaluation currently sweeps a full turn from InitialAngle regardless of this value.

C#
public double FinalAngle { get; set; }

Gets the point on the ellipse at FinalAngle.

C#
public override object FinalPathPoint { get; }

Overrides: CarouselParameterPath.FinalPathPoint

Gets or sets the angle where itms new items will first appear in the carousel view.

C#
public double InitialAngle { get; set; }

Gets the point on the ellipse at InitialAngle.

C#
public override object InitialPathPoint { get; }

Overrides: CarouselParameterPath.InitialPathPoint

Gets or sets the first axis vector; its direction sets the axis orientation and its magnitude sets the corresponding radius.

C#
public Point3D U { get; set; }

A zero vector produces non-finite evaluated coordinates.

Gets or sets the second axis vector; its direction sets the axis orientation and its magnitude sets the corresponding radius.

C#
public Point3D V { get; set; }

A zero vector produces non-finite evaluated coordinates.

Methods

Evaluates the ellipse at a full-turn parameter measured from InitialAngle; this implementation does not use FinalAngle.

C#
public override object EvaluateByParameter(VisualElement element, CarouselPathAnimationData data, double value)
Parameters:elementVisualElement

The carousel element associated with the evaluation; it is not used by this calculation.

dataCarouselPathAnimationData

The animation data associated with the evaluation; it is not used by this calculation.

valuedouble

The fraction of a full turn to advance from the initial angle.

Returns:

object

The evaluated point; values outside zero to one continue around the ellipse.

Overrides: CarouselParameterPath.EvaluateByParameter(VisualElement, CarouselPathAnimationData, double)

Recalculates Z-index mapping for changed axis or path settings before forwarding the property-change event.

C#
protected override void OnPropertyChanged(PropertyChangedEventArgs e)
Parameters:ePropertyChangedEventArgs

The changed-property details.

Overrides: CarouselParameterPath.OnPropertyChanged(PropertyChangedEventArgs)