Bagikan melalui


Shell.SetTitleView(BindableObject, View) Method

Definition

Sets any View to be displayed in the navigation bar when the given obj is active.

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

Parameters

obj
BindableObject

The object to which the TitleView is set.

value
View

The View to be displayed in the navigation bar.

Applies to