Table of Contents

Class FadeInAnimation

Namespace
AlohaKit.Animations
Assembly
AlohaKit.Animations.dll

Represents an animation that fades in a visual element while translating it along the Y-axis.

public class FadeInAnimation : AnimationBase, INotifyPropertyChanged
Inheritance
FadeInAnimation
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-in animation.

public FadeInAnimation.FadeDirection Direction { get; set; }

Property Value

FadeInAnimation.FadeDirection

Methods

BeginAnimation()

Begins the fade-in animation, adjusting the opacity and 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.