Condividi tramite


NavigationPage.GetHasNavigationBar(BindableObject) Method

Definition

Returns a value that indicates whether the page has a navigation bar.

public:
 static bool GetHasNavigationBar(Microsoft::Maui::Controls::BindableObject ^ page);
public static bool GetHasNavigationBar (Microsoft.Maui.Controls.BindableObject page);
static member GetHasNavigationBar : Microsoft.Maui.Controls.BindableObject -> bool
Public Shared Function GetHasNavigationBar (page As BindableObject) As Boolean

Parameters

page
BindableObject

The Page being queried.

Returns

true if page would display a navigation bar were it the CurrentPage.

Applies to