New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a double-precision floating-point animation that animates a property value over time. This class extends RadAnimation to provide specific functionality for animating double values.

Definition

Constructors

Initializes a new instance of the RadDoubleAnimation class.

C#
public RadDoubleAnimation()

Properties

Gets the current value of the animation during execution.

C#
public double CurrentValue { get; }
Property Value:

A double representing the current animated value. This property is updated as the animation progresses from From to To.

Gets or sets the starting value of the animation.

C#
public double? From { get; set; }
Property Value:

A nullable double representing the starting value of the animation. If null, the animation will start from the current value of the target property.

Gets or sets the total amount by which the animation changes its From value. The default value is null.

C#
public double? Step { get; set; }
Property Value:

A nullable double representing the step amount for the animation. When specified, this value determines the increment between animation frames.

Gets or sets the ending value of the animation.

C#
public double To { get; set; }
Property Value:

A double representing the ending value of the animation.

Events

Occurs when the animation progress changes during execution.

C#
public event EventHandler<AnimationProgressChangedEventArgs> ProgressChanged