Skip to main content
A newer version of this page is available. .

PivotGridControl.PrintFieldHeaderTemplate Property

Gets or sets a template used to print field headers. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.PivotGrid, DevExpress.Wpf.PivotGrid

Declaration

public DataTemplate PrintFieldHeaderTemplate { get; set; }

Property Value

Type Description
DataTemplate

A DataTemplate object representing the template used to print field headers.

Remarks

The PrintFieldHeaderTemplate is applied to those fields whose PivotGridField.PrintHeaderTemplate property is set to null. The PivotGridField.ActualPrintHeaderTemplate property allows you to obtain which template is currently used for a particular field.

You can implement custom logic to choose the required template using the PivotGridControl.PrintFieldHeaderTemplateSelector property (or the PivotGridField.PrintHeaderTemplateSelector property to do this for individual fields).

To learn more, see Printing and Exporting.

See Also