INavigation Interface
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.
Interface abstracting platform-specific navigation.
public interface INavigation
type INavigation = interface
- Derived
Remarks
Note that on the Android platform, INavigation operations do not generate activity lifecycle notifications. For each Page that you push or pop, the Android implementation of NavigationPage simply adds or removes the content of the page to or from a single activity.
Also note that the Windows Phone platform provides navigation natively. Therefore, you do not need to use a NavigationPage object to get navigation on that platform.
Properties
ModalStack |
Gets the modal navigation stack. |
NavigationStack |
Gets the stack of pages in the navigation. |
Methods
InsertPageBefore(Page, Page) |
Inserts a page in the navigation stack before an existing page in the stack. |
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. |
PopModalAsync() |
Asynchronously dismisses the most recent modally presented Page. |
PopModalAsync(Boolean) |
Asynchronously dismisses the most recent modally presented Page, with optional animation. |
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. |
PushAsync(Page, Boolean) |
Asynchronously adds a Page to the top of the navigation stack, with optional animation. |
PushAsync(Page) |
Asynchronously adds a Page to the top of the navigation stack. |
PushModalAsync(Page, Boolean) |
Presents a Page modally, with optional animation. |
PushModalAsync(Page) |
Presents a Page modally. |
RemovePage(Page) |
Removes the specified page from the navigation stack. |