NavigationPage.TitleViewProperty Field

Definition

Bindable property for attached property TitleView.

public: static initonly Microsoft::Maui::Controls::BindableProperty ^ TitleViewProperty;
public static readonly Microsoft.Maui.Controls.BindableProperty TitleViewProperty;
 staticval mutable TitleViewProperty : Microsoft.Maui.Controls.BindableProperty
Public Shared ReadOnly TitleViewProperty As BindableProperty 

Field Value

Remarks

On Windows, the TitleView will appear in the content area of the MauiToolbar control. By default, the content area's width is auto-sized to the content, with the remaining area made available for toolbar commands. This is to support the default Windows-specific dynamic overflow ability of the commands. If a user wants the TitleView to occupy all of the space not used by toolbar commands, dynamic overflow needs to be turned off, which can be accomplished by calling the Page's SetToolbarDynamicOverflowEnabled PlatformSpecific to false:

this.On<WindowsOS>().SetToolbarDynamicOverflowEnabled(false);

Applies to