Share via


TitleBar.Content Property

Definition

Gets or sets a View control that represents the content.

This content is centered in the title bar, and is allocated the remaining space between the leading and trailing content.


Views set here will block all input to the title bar region and handle input directly.

public:
 property Microsoft::Maui::IView ^ Content { Microsoft::Maui::IView ^ get(); void set(Microsoft::Maui::IView ^ value); };
public Microsoft.Maui.IView? Content { get; set; }
member this.Content : Microsoft.Maui.IView with get, set
Public Property Content As IView

Property Value

Applies to