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
MultiplyValueProperty
Bindable property for specifying a multiplier to scale the interpolated value.
public static readonly BindableProperty MultiplyValueProperty
Field Value
ToProperty
Bindable property for specifying the target value of the animation.
public static readonly BindableProperty ToProperty
Field Value
Properties
From
Gets or sets the starting value of the animation.
public double From { get; set; }
Property Value
MultiplyValue
Gets or sets a multiplier value used to scale the interpolated result.
public double MultiplyValue { get; set; }
Property Value
To
Gets or sets the target value of the animation.
public double To { get; set; }
Property Value
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()