Class AnimateProgressThickness
- Namespace
- AlohaKit.Animations
- Assembly
- AlohaKit.Animations.dll
The AnimateProgressThickness class interpolates the thickness property of a visual element, transitioning from an initial value to a target value as the animation progresses.
public class AnimateProgressThickness : AnimationProgressBaseBehavior, INotifyPropertyChanged
- Inheritance
-
AnimateProgressThickness
- Implements
- Inherited Members
Fields
FromProperty
Bindable property for specifying the starting thickness value of the animation.
public static readonly BindableProperty FromProperty
Field Value
ToProperty
Bindable property for specifying the target thickness value of the animation.
public static readonly BindableProperty ToProperty
Field Value
Properties
From
Gets or sets the starting thickness value of the animation.
public Thickness From { get; set; }
Property Value
To
Gets or sets the target thickness value of the animation.
public Thickness To { get; set; }
Property Value
Methods
OnUpdate()
Updates the target thickness property value based on the current progress of the animation. Calculates intermediate values using linear interpolation for each thickness dimension.
protected override void OnUpdate()