Bagikan melalui


INavigation.PopToRootAsync Method

Definition

Overloads

PopToRootAsync()

Pops all but the root Page off the navigation stack.

PopToRootAsync(Boolean)

Pops all but the root Page off the navigation stack, with optional animation.

PopToRootAsync()

Pops all but the root Page off the navigation stack.

public System.Threading.Tasks.Task PopToRootAsync ();
abstract member PopToRootAsync : unit -> System.Threading.Tasks.Task

Returns

System.Threading.Tasks.Task

A task representing the asynchronous dismiss operation.

Applies to

PopToRootAsync(Boolean)

Pops all but the root Page off the navigation stack, with optional animation.

public System.Threading.Tasks.Task PopToRootAsync (bool animated);
abstract member PopToRootAsync : bool -> System.Threading.Tasks.Task

Parameters

animated
System.Boolean

Whether to animate the pop.

Returns

System.Threading.Tasks.Task

Applies to