Share via


GroupableItemsView.GroupHeaderTemplate Property

Definition

Gets or sets the DataTemplate used to display the header for each group.

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

Property Value

A DataTemplate that defines the appearance of group headers, or null for no headers.

Remarks

The template's binding context is set to the group object from the ItemsSource.

Applies to