Skip to main content

PivotGridControl.PrintFieldCellTemplate Property

Gets or sets a template used to print data cells. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

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

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

public DataTemplate PrintFieldCellTemplate { get; set; }

Property Value

Type Description
DataTemplate

A DataTemplate object used to print data cells.

Remarks

The PrintFieldCellTemplate is applied to those cells, whose field’s PivotGridField.PrintCellTemplate property is set to null. The PivotGridField.ActualPrintCellTemplate property allows you to obtain which template is currently used for a particular field’s data cells.

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

If a field displays KPI data, the PivotGridControl.PrintFieldCellKpiTemplate and PivotGridControl.PrintFieldCellKpiTemplateSelector properties are used for this field.

To learn more, see Printing and Exporting.

See Also