Interface IPageTransition
Interface for animations that transition between two pages.
public interface IPageTransition
Methods
Start(Visual?, Visual?, bool, CancellationToken)
Starts the animation.
Task Start(Visual? from, Visual? to, bool forward, CancellationToken cancellationToken)
Parameters
from
VisualThe control that is being transitioned away from. May be null.
to
VisualThe control that is being transitioned to. May be null.
forward
boolIf the animation is bidirectional, controls the direction of the animation.
cancellationToken
CancellationTokenAnimation cancellation.