New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents the base class for all animations.

Definition

Namespace:Telerik.Maui

Assembly:Telerik.Maui.Core.dll

Syntax:

C#
public abstract class RadAnimation

Inheritance: objectRadAnimation

Derived Classes: RadDoubleAnimation

Properties

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

C#
public bool AutoReverse { get; set; }

Gets or sets the duration of the animation in milliseconds.

C#
public double Duration { get; set; }

Easing

Easing

Gets or sets the easing function used for the animation.

C#
[TypeConverter(typeof(EasingTypeConverter))]
public Easing Easing { get; set; }

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.

C#
public static bool EnsureProgressConsistency { get; set; }

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

C#
public string PropertyPath { get; set; }

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

C#
public bool RepeatForever { get; set; }

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

C#
public double StartDelay { get; set; }

Gets or sets the target object for the animation.

C#
public object Target { get; set; }

Methods

Called when a property changes.

C#
protected virtual void OnPropertyChanged(string propertyName = null)
Parameters:propertyNamestring

The name of the property that changed.

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

C#
protected void UpdateTargetPropertyValue(object value)
Parameters:valueobject

The new value to set on the target property.