CrossFade.

Start(Visual, Visual) Method

Summary

Starts the animation.
Namespace
Avalonia.Animation
Containing Type
CrossFade

Syntax

public Task Start(Visual from, Visual to)

Parameters

Name Type Description
from Visual The control that is being transitioned away from. May be null.
to Visual The control that is being transitioned to. May be null.

Return Value

Type Description
Task A Task that tracks the progress of the animation.