Summary
Defines a cross-fade animation between two
IVisual
s.
- Namespace
- Avalonia
.Animation - Interfaces
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type-.->Interface0["IPageTransition"]
click Interface0 "/api/Avalonia.Animation/IPageTransition"
Type["CrossFade"]
class Type type-node
Syntax
public class CrossFade : IPageTransition
Constructors
Name | Summary |
---|---|
CrossFade |
Initializes a new instance of the CrossFade class.
|
CrossFade |
Initializes a new instance of the CrossFade class.
|
Properties
Name | Value | Summary |
---|---|---|
Duration | TimeSpan |
Gets the duration of the animation.
|
FadeInEasing | Easing |
Gets or sets element entrance easing.
|
FadeOutEasing | Easing |
Gets or sets element exit easing.
|
Methods
Name | Value | Summary |
---|---|---|
Start |
Task |
Starts the animation.
|