Share via


NavigationPage.PopToRootAsync Method

Definition

Overloads

Name Description
PopToRootAsync(Boolean)

Asynchronously pops all pages from the navigation stack except the root page, with optional animation.

PopToRootAsync()

Asynchronously pops all pages from the navigation stack except the root page.

PopToRootAsync(Boolean)

Source:
NavigationPage.cs
Source:
NavigationPage.cs
Source:
NavigationPage.cs
Source:
NavigationPage.cs

Asynchronously pops all pages from the navigation stack except the root page, with optional animation.

public:
 System::Threading::Tasks::Task ^ PopToRootAsync(bool animated);
public System.Threading.Tasks.Task PopToRootAsync(bool animated);
member this.PopToRootAsync : bool -> System.Threading.Tasks.Task
Public Function PopToRootAsync (animated As Boolean) As Task

Parameters

animated
Boolean

Whether to animate the transition.

Returns

A task that represents the asynchronous operation.

Applies to

PopToRootAsync()

Source:
NavigationPage.cs
Source:
NavigationPage.cs
Source:
NavigationPage.cs
Source:
NavigationPage.cs

Asynchronously pops all pages from the navigation stack except the root page.

public:
 System::Threading::Tasks::Task ^ PopToRootAsync();
public System.Threading.Tasks.Task PopToRootAsync();
member this.PopToRootAsync : unit -> System.Threading.Tasks.Task
Public Function PopToRootAsync () As Task

Returns

A task that represents the asynchronous operation.

Applies to