Compartilhar via


NavigationPage Constructors

Definition

Overloads

NavigationPage()

Initializes a new NavigationPage object.

NavigationPage(Page)

Creates a new NavigationPage element with root as its root element.

NavigationPage()

Source:
NavigationPage.cs
Source:
NavigationPage.cs

Initializes a new NavigationPage object.

public:
 NavigationPage();
public NavigationPage ();
Public Sub New ()

Applies to

NavigationPage(Page)

Source:
NavigationPage.cs
Source:
NavigationPage.cs

Creates a new NavigationPage element with root as its root element.

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

Applies to