Pivot.HeaderTemplate Property

Definition

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

C#
public DataTemplate HeaderTemplate { get; set; }
XAML
<Pivot HeaderTemplate="resourceReferenceToDataTemplate"/>
- or -
<Pivot>
  <Pivot.HeaderTemplate>
     <DataTemplate>
      dataTemplateDefinition
    </DataTemplate>
  </Pivot.HeaderTemplate>
</Pivot>

Property Value

The template for the Header property of PivotItem children.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also