Skip to main content

CrossFade Class

Defines a cross-fade animation between two Visuals.

Definition​

Namespace: Avalonia.Animation
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public class CrossFade : IPageTransition
View Source
InheritanceObject → CrossFade
ImplementsIPageTransition

Constructors​

CrossFade()Initializes a new instance of the CrossFade class.
CrossFade(TimeSpan)Initializes a new instance of the CrossFade class.

Properties​

DurationGets the duration of the animation.
FadeInEasingGets or sets element entrance easing.
FadeOutEasingGets or sets element exit easing.

Methods​

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
Start(Visual, Visual, CancellationToken) 
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also​

Reference​

Avalonia.Animation Namespace