NavigationPage.PopToRootAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.