Back to Devexpress

PivotGridControl.PrintFieldCellKpiTemplate Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-658bbfd2.md

latest3.1 KB
Original Source

PivotGridControl.PrintFieldCellKpiTemplate Property

Gets or sets a template used to print data cells that contain KPI graphics. 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 PrintFieldCellKpiTemplate { get; set; }
vb
Public Property PrintFieldCellKpiTemplate As DataTemplate

Property Value

TypeDescription
DataTemplate

A DataTemplate object used to print data cells that contain KPI graphics.

|

Remarks

The PrintFieldCellKpiTemplate 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.PrintFieldCellKpiTemplateSelector property (or the PivotGridField.PrintCellTemplateSelector property to do this for individual fields).

To learn more, see Printing and Exporting.

See Also

PrintCellTemplate

PrintFieldCellTemplateSelector

PrintCellTemplateSelector

Cell

Key Performance Indicators (KPIs)

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace