Skip to main content

PivotGridControl.FieldValueTemplate Property

Gets or sets a template used to display field values. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

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

#Declaration

public DataTemplate FieldValueTemplate { get; set; }

#Property Value

Type Description
DataTemplate

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

#Remarks

The FieldValueTemplate is applied to those fields whose PivotGridField.ValueTemplate property is set to null. The PivotGridField.ActualValueTemplate 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.FieldValueTemplateSelector property (or the PivotGridField.ValueTemplateSelector property to do this for individual fields).

See Also