Partager via


NavigationPage.SetHasNavigationBar(BindableObject, Boolean) Method

Definition

Sets a value that indicates whether or not this NavigationPage element has a navigation bar.

public:
 static void SetHasNavigationBar(Microsoft::Maui::Controls::BindableObject ^ page, bool value);
public static void SetHasNavigationBar (Microsoft.Maui.Controls.BindableObject page, bool value);
static member SetHasNavigationBar : Microsoft.Maui.Controls.BindableObject * bool -> unit
Public Shared Sub SetHasNavigationBar (page As BindableObject, value As Boolean)

Parameters

value
Boolean

Applies to