Table of Contents

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

BindableProperty

Properties

Direction

Gets or sets the direction of the fade-out animation.

public FadeOutAnimation.FadeDirection Direction { get; set; }

Property Value

FadeOutAnimation.FadeDirection

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.