Table of Contents

Class TranslateToAnimation

Namespace
AlohaKit.Animations
Assembly
AlohaKit.Animations.dll

Represents an animation that translates (moves) the target element to a specified position.

public class TranslateToAnimation : AnimationBase, INotifyPropertyChanged
Inheritance
TranslateToAnimation
Implements
Inherited Members

Fields

TranslateXProperty

Bindable property for specifying the target X-coordinate of the animation.

public static readonly BindableProperty TranslateXProperty

Field Value

BindableProperty

TranslateYProperty

Bindable property for specifying the target Y-coordinate of the animation.

public static readonly BindableProperty TranslateYProperty

Field Value

BindableProperty

Properties

TranslateX

Gets or sets the target X-coordinate to move the element to.

public double TranslateX { get; set; }

Property Value

double

TranslateY

Gets or sets the target Y-coordinate to move the element to.

public double TranslateY { get; set; }

Property Value

double

Methods

BeginAnimation()

protected override Task BeginAnimation()

Returns

Task