Share via


TitleBar.LeadingContent Property

Definition

Gets or sets a View control that represents the leading content.

The leading content follows the optional Icon and is aligned to the left or right of the title bar, depending on the FlowDirection. Views set here will be allocated as much space as they require.

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

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

Property Value

Applies to