NavigationPage.PopToRootAsync NavigationPage.PopToRootAsync Method

Definition

Overloads

PopToRootAsync() PopToRootAsync()

Pops all but the root Page off the navigation stack.

PopToRootAsync(Boolean) PopToRootAsync(Boolean)

A task for asynchronously popping all pages off of the navigation stack.

PopToRootAsync() PopToRootAsync()

Pops all but the root Page off the navigation stack.

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

A task that represents the asynchronous dismiss operation.

PopToRootAsync(Boolean) PopToRootAsync(Boolean)

A task for asynchronously popping all pages off of the navigation stack.

[System.Runtime.CompilerServices.AsyncStateMachine(typeof(Xamarin.Forms.NavigationPage/<PopToRootAsync>d__50))]
public System.Threading.Tasks.Task PopToRootAsync (bool animated);
member this.PopToRootAsync : bool -> System.Threading.Tasks.Task
Parameters
animated
Boolean Boolean
Returns

Applies to