wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridfield-19b8a639.md
Gets or sets a template used to print the header of the current field. This is a dependency property.
Namespace : DevExpress.Xpf.PivotGrid
Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll
NuGet Package : DevExpress.Wpf.PivotGrid
public DataTemplate PrintHeaderTemplate { get; set; }
Public Property PrintHeaderTemplate As DataTemplate
| Type | Description |
|---|---|
| DataTemplate |
A DataTemplate object, representing the template used to print the header of the current field.
|
If the PrintHeaderTemplate is not specified, the header is printed via the PivotGridControl.PrintFieldHeaderTemplate template. The PivotGridField.ActualPrintHeaderTemplate property allows you to obtain which template is currently used.
You can implement custom logic to choose the required template using the PivotGridField.PrintHeaderTemplateSelector property.
To learn more, see Printing and Exporting.
See Also