Table of Contents

Class AnimateProgressDouble

Namespace
AlohaKit.Animations
Assembly
AlohaKit.Animations.dll

The AnimateProgressDouble class interpolates a double property of a visual element, transitioning from an initial value to a target value as the animation progresses. It allows scaling of the value using a multiplier.

public class AnimateProgressDouble : AnimationProgressBaseBehavior, INotifyPropertyChanged
Inheritance
AnimateProgressDouble
Implements
Inherited Members

Fields

FromProperty

Bindable property for specifying the starting value of the animation.

public static readonly BindableProperty FromProperty

Field Value

BindableProperty

MultiplyValueProperty

Bindable property for specifying a multiplier to scale the interpolated value.

public static readonly BindableProperty MultiplyValueProperty

Field Value

BindableProperty

ToProperty

Bindable property for specifying the target value of the animation.

public static readonly BindableProperty ToProperty

Field Value

BindableProperty

Properties

From

Gets or sets the starting value of the animation.

public double From { get; set; }

Property Value

double

MultiplyValue

Gets or sets a multiplier value used to scale the interpolated result.

public double MultiplyValue { get; set; }

Property Value

double

To

Gets or sets the target value of the animation.

public double To { get; set; }

Property Value

double

Methods

OnUpdate()

Updates the target double property based on the current progress of the animation. Performs interpolation and applies the multiplier to calculate the value.

protected override void OnUpdate()