Class
RadAnimation

Represents the base class for all animations.

Definition

Namespace:Telerik.Maui

Assembly:Telerik.Maui.Core.dll

Syntax:

cs-api-definition
public abstract class RadAnimation

Inheritance: objectRadAnimation

Derived Classes: RadDoubleAnimation

Properties

AutoReverse

Gets or sets a value indicating whether the animation will automatically reverse when it completes.

Declaration

cs-api-definition
public bool AutoReverse { get; set; }

Property Value

bool

Duration

Gets or sets the duration of the animation in milliseconds.

Declaration

cs-api-definition
public double Duration { get; set; }

Property Value

double

Easing

Gets or sets the easing function used for the animation.

Declaration

cs-api-definition
[TypeConverter(typeof(EasingTypeConverter))]
public Easing Easing { get; set; }

Property Value

Easing

EnsureProgressConsistency

Gets or sets a value indicating whether it is ensured that the Progress of auto-reversing animations will reach 1 and that the Progress or repeating animations will reach 0.

Declaration

cs-api-definition
public static bool EnsureProgressConsistency { get; set; }

Property Value

bool

PropertyPath

Gets or sets the property path on the Target that will be animated.

Declaration

cs-api-definition
public string PropertyPath { get; set; }

Property Value

string

RepeatForever

Gets or sets a value indicating whether the animation will repeat forever.

Declaration

cs-api-definition
public bool RepeatForever { get; set; }

Property Value

bool

StartDelay

Gets or sets the start delay of the animation in milliseconds.

Declaration

cs-api-definition
public double StartDelay { get; set; }

Property Value

double

Target

Gets or sets the target object for the animation.

Declaration

cs-api-definition
public object Target { get; set; }

Property Value

object

Methods

OnPropertyChanged(string)

Called when a property changes.

Declaration

cs-api-definition
protected virtual void OnPropertyChanged(string propertyName = null)

Parameters

propertyName

string

The name of the property that changed.

UpdateTargetPropertyValue(object)

Updates the value of the target property specified by PropertyPath on the Target object.

Declaration

cs-api-definition
protected void UpdateTargetPropertyValue(object value)

Parameters

value

object

The new value to set on the target property.