Back to Devexpress

PivotGridControl.PrintFieldValueTemplate Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-7f328b71.md

latest2.7 KB
Original Source

PivotGridControl.PrintFieldValueTemplate Property

Gets or sets a template used to print field values. 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 PrintFieldValueTemplate { get; set; }
vb
Public Property PrintFieldValueTemplate As DataTemplate

Property Value

TypeDescription
DataTemplate

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

|

Remarks

The PrintFieldValueTemplate is applied to those fields whose PivotGridField.PrintValueTemplate property is set to null. The PivotGridField.ActualPrintValueTemplate 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.PrintFieldValueTemplateSelector property (or the PivotGridField.PrintValueTemplateSelector property to do this for individual fields).

To learn more, see Printing and Exporting.

See Also

PrintValueTemplate

PrintFieldValueTemplateSelector

PrintValueTemplateSelector

Field Value

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace