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.
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.
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.
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.
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.
Instance
The static instance of the AnimationSettings class.
InstantDuration
An instant TimeSpan duration, which returns a zero duration.
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.
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.
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.
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.
ValueChangeDuration
The TimeSpan duration of a value change animation.
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.
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
- ObservableObjectBase.OnPropertyChanged(string)
- ObservableObjectBase.OnPropertyChanging(string)
- ObservableObjectBase.OnPropertyChanging(PropertyChangingEventArgs)
- ObservableObjectBase.SetProperty<T>(ref T, T, string)
- ObservableObjectBase.PropertyChanged
- ObservableObjectBase.PropertyChanging
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()