Windows.UI.Xaml.Controls.Hub.HeaderTemplate

June 22, 2022 ยท View on GitHub

-description

Gets or sets the DataTemplate used to display the content of the hub header.

-xaml-syntax

<Hub HeaderTemplate="resourceReferenceToDataTemplate"/>
- or -
<Hub>
  <Hub.HeaderTemplate>
     <DataTemplate>
      dataTemplateDefinition
    </DataTemplate>
  </Hub.HeaderTemplate>
</Hub>

-xaml-values

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.
dataTemplateDefinition
dataTemplateDefinitionDefinition for the DataTemplate, including its root element container and parts within that present the data-based content.
## -property-value The template that specifies the visualization of the header object. The default is **null**.

-remarks

-examples

-see-also

Header