Class FadeOutAnimation
- Namespace
- AlohaKit.Animations
- Assembly
- AlohaKit.Animations.dll
Represents an animation that fades out a visual element while translating it along the Y-axis.
public class FadeOutAnimation : AnimationBase, INotifyPropertyChanged
- Inheritance
-
FadeOutAnimation
- Implements
- Inherited Members
Fields
DirectionProperty
Bindable property for specifying the fade direction of the animation.
public static readonly BindableProperty DirectionProperty
Field Value
Properties
Direction
Gets or sets the direction of the fade-out animation.
public FadeOutAnimation.FadeDirection Direction { get; set; }
Property Value
Methods
BeginAnimation()
Begins the fade-out animation, reducing the opacity and adjusting the Y-axis translation of the target element.
protected override Task BeginAnimation()
Returns
- Task
A Task representing the asynchronous operation.
Exceptions
- NullReferenceException
Thrown if the Target property is null.