NavigationProxy Class
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.
Represents an object capable of handling stack-based navigation via proxying.
public ref class NavigationProxy : Microsoft::Maui::Controls::INavigation
public class NavigationProxy : Microsoft.Maui.Controls.INavigation
type NavigationProxy = class
interface INavigation
Public Class NavigationProxy
Implements INavigation
- Inheritance
-
NavigationProxy
- Implements
Remarks
Elements may use navigation proxies to delegate navigation capabilities to their parents if they themselves can't handle it.
For internal use for .NET MAUI.
Constructors
| Name | Description |
|---|---|
| NavigationProxy() | |
Properties
| Name | Description |
|---|---|
| Inner |
Internal API for Microsoft.Maui.Controls platform use. |
| ModalStack |
Internal API for Microsoft.Maui.Controls platform use. |
| NavigationStack |
Internal API for Microsoft.Maui.Controls platform use. |
Methods
| Name | Description |
|---|---|
| GetModalStack() | |
| GetNavigationStack() | |
| InsertPageBefore(Page, Page) |
Internal API for Microsoft.Maui.Controls platform use. |
| OnInsertPageBefore(Page, Page) | |
| OnPopAsync(Boolean) | |
| OnPopModal(Boolean) | |
| OnPopToRootAsync(Boolean) | |
| OnPushAsync(Page, Boolean) | |
| OnPushModal(Page, Boolean) | |
| OnRemovePage(Page) | |
| PopAsync() |
Pops the current page from the navigation stack with animation. |
| PopAsync(Boolean) |
Pops the current page from the navigation stack. |
| PopModalAsync() |
Pops the current modal page with animation. |
| PopModalAsync(Boolean) |
Pops the current modal page. |
| PopToRootAsync() |
Pops all pages except the root page with animation. |
| PopToRootAsync(Boolean) |
Pops all pages except the root page. |
| PushAsync(Page, Boolean) |
Pushes a page onto the navigation stack. |
| PushAsync(Page) |
Pushes a page onto the navigation stack with animation. |
| PushModalAsync(Page, Boolean) |
Presents a page modally. |
| PushModalAsync(Page) |
Presents a page modally with animation. |
| RemovePage(Page) |
Internal API for Microsoft.Maui.Controls platform use. |