INavigation.PopAsync 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
PopAsync() |
Asynchronously removes the most recent Page from the navigation stack. |
PopAsync(Boolean) |
Asynchronously removes the most recent Page from the navigation stack, with optional animation. |
PopAsync()
Asynchronously removes the most recent Page from the navigation stack.
public System.Threading.Tasks.Task<Xamarin.Forms.Page> PopAsync ();
abstract member PopAsync : unit -> System.Threading.Tasks.Task<Xamarin.Forms.Page>
Returns
System.Threading.Tasks.Task<Page>
The Page that had been at the top of the navigation stack.
Applies to
PopAsync(Boolean)
Asynchronously removes the most recent Page from the navigation stack, with optional animation.
public System.Threading.Tasks.Task<Xamarin.Forms.Page> PopAsync (bool animated);
abstract member PopAsync : bool -> System.Threading.Tasks.Task<Xamarin.Forms.Page>
Parameters
- animated
- System.Boolean
Whether to animate the pop.
Returns
System.Threading.Tasks.Task<Page>