Table of Contents

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

BindableProperty

ToProperty

Bindable property for specifying the target thickness value of the animation.

public static readonly BindableProperty ToProperty

Field Value

BindableProperty

Properties

From

Gets or sets the starting thickness value of the animation.

public Thickness From { get; set; }

Property Value

Thickness

To

Gets or sets the target thickness value of the animation.

public Thickness To { get; set; }

Property Value

Thickness

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()