共用方式為


NavigationPage.SetTitleView(BindableObject, View) Method

Definition

Sets the view to use as the title for the navigation page.

public:
 static void SetTitleView(Microsoft::Maui::Controls::BindableObject ^ bindable, Microsoft::Maui::Controls::View ^ value);
public static void SetTitleView (Microsoft.Maui.Controls.BindableObject bindable, Microsoft.Maui.Controls.View value);
static member SetTitleView : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Controls.View -> unit
Public Shared Sub SetTitleView (bindable As BindableObject, value As View)

Parameters

bindable
BindableObject

The bindable object whose title to set.

value
View

The view to use.

Applies to