Class
AnimationSettings

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:

cs-api-definition
public class AnimationSettings : INotifyPropertyChanged

Inheritance: objectAnimationSettings

Implements: INotifyPropertyChanged

Constructors

AnimationSettings()

Declaration

cs-api-definition
public AnimationSettings()

Properties

Duration

Gets or sets the duration of the animation in milliseconds.

Declaration

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

Property Value

int

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

Easing

Gets or sets the easing function for the animation.

Declaration

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

Property Value

Easing

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

Enabled

Gets or sets a value indicating whether animations are enabled.

Declaration

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

Property Value

bool

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

Events

PropertyChanged

Occurs when a property value changes.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged