Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.26 KB

pivot_headertemplate.md

File metadata and controls

43 lines (32 loc) · 1.26 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.Pivot.HeaderTemplate
winrt property

Windows.UI.Xaml.Controls.Pivot.HeaderTemplate

-description

Gets or sets the template for the Header property of PivotItem children.

-xaml-syntax

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

-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 for the [Header](pivotitem_header.md) property of [PivotItem](pivotitem.md) children.

-remarks

-examples

-see-also

DataTemplate