Windows.UI.Xaml.Controls.GroupStyle.HeaderTemplate

December 15, 2023 ยท View on GitHub

-description

Gets or sets the template that is used to display the group header.

-xaml-syntax

<GroupStyle HeaderTemplate="dataTemplateReference" />
- or -
<GroupStyle>
  <GroupStyle.HeaderTemplate>
    <DataTemplate>
      dataTemplateDefinition
    </DataTemplate>
  </GroupStyle.HeaderTemplate>
</GroupStyle>

-xaml-values

dataTemplateReference
dataTemplateReferenceA reference to an existing DataTemplate. Typically this is a keyed resource, which you reference through {StaticResource} markup extension.
dataTemplateDefinition
dataTemplateDefinitionDefinition for the DataTemplate, including its root element container and parts within that present the view's header items.
## -property-value A [DataTemplate](../windows.ui.xaml/datatemplate.md) object that is used to display the group header. The default is **null**.

-remarks

-examples

-see-also