Back to Devexpress

PivotGridField.PrintValueTemplate Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridfield-b33ff561.md

latest2.5 KB
Original Source

PivotGridField.PrintValueTemplate Property

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

Property Value

TypeDescription
DataTemplate

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

|

Remarks

If the PrintValueTemplate is not specified, the field values are printed via the PivotGridControl.PrintFieldValueTemplate template. The PivotGridField.ActualPrintValueTemplate property allows you to obtain which template is currently used.

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

To learn more, see Printing and Exporting.

See Also

PrintFieldValueTemplate

ActualPrintValueTemplate

PrintFieldValueTemplateSelector

PivotGridField Class

PivotGridField Members

DevExpress.Xpf.PivotGrid Namespace