GroupStyle.HeaderTemplate Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the template that is used to display the group header.
DataTemplate HeaderTemplate();
void HeaderTemplate(DataTemplate value);
public DataTemplate HeaderTemplate { get; set; }
var dataTemplate = groupStyle.headerTemplate;
groupStyle.headerTemplate = dataTemplate;
Public Property HeaderTemplate As DataTemplate
<GroupStyle HeaderTemplate="dataTemplateReference" />
- or -
<GroupStyle>
<GroupStyle.HeaderTemplate>
<DataTemplate>
dataTemplateDefinition
</DataTemplate>
</GroupStyle.HeaderTemplate>
</GroupStyle>
Property Value
A DataTemplate object that is used to display the group header. The default is null.