IPageTransition.

Start(Visual, Visual, bool) Method

Summary

Starts the animation.
Namespace
Avalonia.Animation
Containing Type
IPageTransition

Syntax

Task Start(Visual from, Visual to, bool forward)

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.
forward bool If the animation is bidirectional, controls the direction of the animation.

Return Value

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