Class AnimateThickness
- Namespace
- AlohaKit.Animations
- Assembly
- AlohaKit.Animations.dll
The AnimateThickness class provides functionality to animate the transition of a thickness property on a visual element, using interpolation based on animation progress.
public class AnimateThickness : AnimationBaseTrigger<Thickness>
- Inheritance
-
AnimateThickness
- Inherited Members
Methods
Invoke(VisualElement)
Invokes the thickness animation on the specified visual element. Uses progress-based interpolation to transition the thickness property from the initial value (From) to the target value (To).
protected override void Invoke(VisualElement sender)
Parameters
senderVisualElementThe visual element on which the animation is applied.
Exceptions
- NullReferenceException
Thrown if the TargetProperty is null.