Class
RadDoubleAnimation

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

RadDoubleAnimation()

Initializes a new instance of the RadDoubleAnimation class.

Declaration

cs-api-definition
public RadDoubleAnimation()

Properties

CurrentValue

Gets the current value of the animation during execution.

Declaration

cs-api-definition
public double CurrentValue { get; }

Property Value

double

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

From

Gets or sets the starting value of the animation.

Declaration

cs-api-definition
public double? From { get; set; }

Property Value

double?

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

Step

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

Declaration

cs-api-definition
public double? Step { get; set; }

Property Value

double?

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

To

Gets or sets the ending value of the animation.

Declaration

cs-api-definition
public double To { get; set; }

Property Value

double

A double representing the ending value of the animation.

Events

ProgressChanged

Occurs when the animation progress changes during execution.

Declaration

cs-api-definition
public event EventHandler<AnimationProgressChangedEventArgs> ProgressChanged

Event Value

EventHandler<AnimationProgressChangedEventArgs>