Start Method
Starts the animation.
Definition
Namespace: Avalonia.Animation
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
 - VB
 - F#
 
public Task Start(
	Visual? from,
	Visual? to,
	bool forward,
	CancellationToken cancellationToken
)
Public Function Start ( 
	from As Visual,
	to As Visual,
	forward As Boolean,
	cancellationToken As CancellationToken
) As Task
abstract Start : 
        from : Visual * 
        to : Visual * 
        forward : bool * 
        cancellationToken : CancellationToken -> Task 
override Start : 
        from : Visual * 
        to : Visual * 
        forward : bool * 
        cancellationToken : CancellationToken -> Task 
Parameters
- Visual
 - The control that is being transitioned away from. May be null.
 - Visual
 - The control that is being transitioned to. May be null.
 - Boolean
 - If the animation is bidirectional, controls the direction of the animation.
 - CancellationToken
 - Animation cancellation.
 
Return Value
Task
A Task that tracks the progress of the animation.