Table of Contents

Class RotateToAnimation

Namespace
AlohaKit.Animations
Assembly
AlohaKit.Animations.dll

The RotateToAnimation class animates the rotation of a target element to a specified angle.

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

Fields

RotationProperty

Bindable property for specifying the target rotation angle.

public static readonly BindableProperty RotationProperty

Field Value

BindableProperty

Properties

Rotation

Gets or sets the target rotation angle for the animation.

public double Rotation { get; set; }

Property Value

double

Methods

BeginAnimation()

Begins the rotation animation, rotating the target element to the specified angle.

protected override Task BeginAnimation()

Returns

Task

A Task representing the asynchronous operation.

Exceptions

NullReferenceException

Thrown when the Target property is null.