Skip to main content
Tag

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Wpf.PivotGrid

#Declaration

public DataTemplate PrintValueTemplate { get; set; }

#Property Value

Type Description
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