Share via


StructuredItemsView.HeaderTemplate Property

Definition

Gets or sets the DataTemplate used to render the header.

public:
 property Microsoft::Maui::Controls::DataTemplate ^ HeaderTemplate { Microsoft::Maui::Controls::DataTemplate ^ get(); void set(Microsoft::Maui::Controls::DataTemplate ^ value); };
public Microsoft.Maui.Controls.DataTemplate HeaderTemplate { get; set; }
member this.HeaderTemplate : Microsoft.Maui.Controls.DataTemplate with get, set
Public Property HeaderTemplate As DataTemplate

Property Value

A DataTemplate that defines how the header is displayed, or null to use the default rendering.

Remarks

The template's binding context is set to the Header object.

Applies to