Class AnimateDouble
- Namespace
- AlohaKit.Animations
- Assembly
- AlohaKit.Animations.dll
The AnimateDouble class provides a mechanism to animate the transition of a double value on a specified visual element, using interpolation based on animation progress.
public class AnimateDouble : AnimationBaseTrigger<double>
- Inheritance
-
AnimateDouble
- Inherited Members
Methods
Invoke(VisualElement)
Invokes the double property animation on the target visual element. Progress-based interpolation is applied 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.