NavigationPage Constructors
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 |
|---|---|
| NavigationPage() |
Initializes a new instance of the NavigationPage class. |
| NavigationPage(Page) |
Initializes a new instance of the NavigationPage class with the specified root page. |
NavigationPage()
- Source:
- NavigationPage.cs
- Source:
- NavigationPage.cs
- Source:
- NavigationPage.cs
- Source:
- NavigationPage.cs
Initializes a new instance of the NavigationPage class.
public:
NavigationPage();
public NavigationPage();
Public Sub New ()
Applies to
NavigationPage(Page)
- Source:
- NavigationPage.cs
- Source:
- NavigationPage.cs
- Source:
- NavigationPage.cs
- Source:
- NavigationPage.cs
Initializes a new instance of the NavigationPage class with the specified root page.
public:
NavigationPage(Microsoft::Maui::Controls::Page ^ root);
public NavigationPage(Microsoft.Maui.Controls.Page root);
new Microsoft.Maui.Controls.NavigationPage : Microsoft.Maui.Controls.Page -> Microsoft.Maui.Controls.NavigationPage
Public Sub New (root As Page)
Parameters
- root
- Page
The root page of the navigation stack.