In This Article

AnimationSettings Class

Provides access to animation settings.

public class AnimationSettings : ObservableObjectBase
Inheritance:
object ObservableObjectBase object

Constructors

AnimationSettings()

Initializes an instance of the class.

public AnimationSettings()

Properties

BrushChangeDuration

The TimeSpan duration of a brush change animation.

public TimeSpan BrushChangeDuration { get; }

Property Value

TimeSpan

BrushChangeEasing

The Avalonia.Animation.Easings.Easing of a brush change animation.

public Easing BrushChangeEasing { get; }

Property Value

Easing

EmphasizedEnterDuration

The TimeSpan duration of an emphasized (slow decelerate) animation for a visual entering the UI.

public TimeSpan EmphasizedEnterDuration { get; }

Property Value

TimeSpan

EmphasizedEnterEasing

The Avalonia.Animation.Easings.Easing of an emphasized (slow decelerate) animation for a visual entering the UI.

public Easing EmphasizedEnterEasing { get; }

Property Value

Easing

EmphasizedExitDuration

The TimeSpan duration of an emphasized (slow accelerate) animation for a visual exiting the UI.

public TimeSpan EmphasizedExitDuration { get; }

Property Value

TimeSpan

EmphasizedExitEasing

The Avalonia.Animation.Easings.Easing of an emphasized (slow accelerate) animation for a visual exiting the UI.

public Easing EmphasizedExitEasing { get; }

Property Value

Easing

EmphasizedMoveDuration

The TimeSpan duration of an emphasized (slow) animation for a visual moving within the UI.

public TimeSpan EmphasizedMoveDuration { get; }

Property Value

TimeSpan

EmphasizedMoveEasing

The Avalonia.Animation.Easings.Easing of an emphasized (slow) animation for a visual moving within the UI.

public Easing EmphasizedMoveEasing { get; }

Property Value

Easing

IndeterminateProgressDuration

The TimeSpan duration of an animation for an indeterminate progress bar.

public TimeSpan IndeterminateProgressDuration { get; }

Property Value

TimeSpan

Instance

The static instance of the AnimationSettings class.

public static AnimationSettings Instance { get; }

Property Value

AnimationSettings

InstantDuration

An instant TimeSpan duration, which returns a zero duration.

public TimeSpan InstantDuration { get; }

Property Value

TimeSpan

PopEasing

The Avalonia.Animation.Easings.Easing of a pop animation for a visual entering or exiting the UI.

public Easing PopEasing { get; }

Property Value

Easing

StandardEnterDuration

The TimeSpan duration of a standard (medium decelerate) animation for a visual entering the UI.

public TimeSpan StandardEnterDuration { get; }

Property Value

TimeSpan

StandardEnterEasing

The Avalonia.Animation.Easings.Easing of a standard (medium decelerate) animation for a visual entering the UI.

public Easing StandardEnterEasing { get; }

Property Value

Easing

StandardExitDuration

The TimeSpan duration of a standard (medium accelerate) animation for a visual exiting the UI.

public TimeSpan StandardExitDuration { get; }

Property Value

TimeSpan

StandardExitEasing

The Avalonia.Animation.Easings.Easing of a standard (medium accelerate) animation for a visual exiting the UI.

public Easing StandardExitEasing { get; }

Property Value

Easing

StandardMoveDuration

The TimeSpan duration of a standard (medium) animation for a visual moving within the UI.

public TimeSpan StandardMoveDuration { get; }

Property Value

TimeSpan

StandardMoveEasing

The Avalonia.Animation.Easings.Easing of a standard (medium) animation for a visual moving within the UI.

public Easing StandardMoveEasing { get; }

Property Value

Easing

SubtleAnimationDuration

The TimeSpan duration of a subtle (fast) animation for a visual change in the UI.

public TimeSpan SubtleAnimationDuration { get; }

Property Value

TimeSpan

ValueChangeDuration

The TimeSpan duration of a value change animation.

public TimeSpan ValueChangeDuration { get; }

Property Value

TimeSpan

ValueChangeEasing

The Avalonia.Animation.Easings.Easing of a value change animation.

public Easing ValueChangeEasing { get; }

Property Value

Easing

VerySubtleAnimationDuration

The TimeSpan duration of a very subtle (very fast) animation for a visual change in the UI.

public TimeSpan VerySubtleAnimationDuration { get; }

Property Value

TimeSpan

Methods

OnPropertyChanged(PropertyChangedEventArgs)

Raises the PropertyChanged event.

protected override void OnPropertyChanged(PropertyChangedEventArgs e)
Parameter Type Description
e PropertyChangedEventArgs

The PropertyChangedEventArgs that contains the event data.

Inherited Members

Extension Methods