Back to Devexpress

PivotGridField.PrintCellTemplate Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridfield-3b703ab1.md

latest2.7 KB
Original Source

PivotGridField.PrintCellTemplate Property

Gets or sets a template used to print cells that correspond to the current field. This is a dependency property.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public DataTemplate PrintCellTemplate { get; set; }
vb
Public Property PrintCellTemplate As DataTemplate

Property Value

TypeDescription
DataTemplate

A DataTemplate object used to print cells that correspond to the current field.

|

Remarks

If the PrintCellTemplate is not specified, the cells are printed via the PivotGridControl.PrintFieldCellTemplate template (or the PivotGridControl.PrintFieldCellKpiTemplate if this field displays KPI graphics). The PivotGridField.ActualPrintCellTemplate property allows you to obtain which template is currently used.

You can implement custom logic to choose the required template using the PivotGridField.PrintCellTemplateSelector property.

To learn more, see Printing and Exporting.

See Also

PrintFieldCellTemplate

ActualPrintCellTemplate

PrintFieldCellTemplateSelector

Cell

PivotGridField Class

PivotGridField Members

DevExpress.Xpf.PivotGrid Namespace