Class AnimateInt
- Namespace
- AlohaKit.Animations
- Assembly
- AlohaKit.Animations.dll
The AnimateInt class provides functionality to animate the transition of an integer property on a visual element using interpolation based on animation progress.
public class AnimateInt : AnimationBaseTrigger<int>
- Inheritance
-
AnimateInt
- Inherited Members
Methods
Invoke(VisualElement)
Invokes the integer property animation on the specified visual element. Applies progress-based interpolation to transition the 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.