-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.HubSection.HeaderTemplate |
winrt property |
Gets or sets the DataTemplate used to display the content of the hub section header.
<HubSection>
<HubSection.HeaderTemplate>
singleDataTemplate
</HubSection.HeaderTemplate>
</HubSection>
- or -
<HubSection HeaderTemplate="resourceReferenceToDataTemplate"/>
- singleDataTemplate
- singleDataTemplateA single DataTemplate object element. That DataTemplate would typically have multiple child elements that define the visual appearance of the data representation.
- resourceReferenceToDataTemplate
- resourceReferenceToDataTemplateA resource reference to an existing DataTemplate from a resources collection. The resource reference must specify the desired DataTemplate by key through a {StaticResource} markup extension usage.