PageSlide.

Start(Visual, Visual, bool) Method

Summary

Starts the animation.
Namespace
Avalonia.Animation
Containing Type
PageSlide

Syntax

public 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 true, the new page is slid in from the right, or if false from the left.

Return Value

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