Partager via


NavigationPage.SetHasBackButton(Page, Boolean) Method

Definition

Adds or removes a back button to page, with optional animation.

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

Parameters

page
Page
value
Boolean

Applies to