INavigation.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
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