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

Provides settings for controlling animation behavior including duration, easing, and enabled state. This class implements INotifyPropertyChanged to provide property change notifications.

Definition

Namespace:Telerik.Maui

Assembly:Telerik.Maui.Core.dll

Syntax:

C#
public class AnimationSettings : INotifyPropertyChanged

Inheritance: objectAnimationSettings

Implements: INotifyPropertyChanged

Constructors

C#
public AnimationSettings()

Properties

Gets or sets the duration of the animation in milliseconds.

C#
public int Duration { get; set; }
Property Value:

An int representing the animation duration in milliseconds. The default value is .

Easing

Easing

Gets or sets the easing function for the animation.

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

An Easing function that defines the animation's acceleration curve. The default value is .

Gets or sets a value indicating whether animations are enabled.

C#
public bool Enabled { get; set; }
Property Value:

true if animations are enabled; otherwise, false. The default value is true.

Events

Occurs when a property value changes.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged