Class AnimateCornerRadius
- Namespace
- AlohaKit.Animations
- Assembly
- AlohaKit.Animations.dll
The AnimateCornerRadius class animates the corner radius property of a visual element, providing a smooth transition from an initial value to a target value.
public class AnimateCornerRadius : AnimationBaseTrigger<CornerRadius>
- Inheritance
-
AnimateCornerRadius
- Inherited Members
Methods
Invoke(VisualElement)
Invokes the corner radius animation on the specified visual element. Uses progress-based interpolation to transition the corner radius property from the starting 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.