Pivot.HeaderTemplate Property

Definition

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

DataTemplate HeaderTemplate();

void HeaderTemplate(DataTemplate value);
public DataTemplate HeaderTemplate { get; set; }
var dataTemplate = pivot.headerTemplate;
pivot.headerTemplate = dataTemplate;
Public Property HeaderTemplate As DataTemplate
<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

See also