PivotGridField.SummaryType Property

Gets or sets the type of the summary function which is calculated against the current data field. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v20.1.dll


public FieldSummaryType SummaryType { get; set; }
Public Property SummaryType As FieldSummaryType

Property Value

Type Description

A FieldSummaryType enumeration value that specifies the summary function type which is calculated against the current field.


The DXPivotGrid control calculates summaries against data fields. The summary function type is determined by the field's SummaryType property.

For fields which don't contain numeric data, only the following summary functions can be calculated: FieldSummaryType.Count, FieldSummaryType.Min and FieldSummaryType.Max. If the field's SummaryType property is set to any other value, the corresponding data cells will display zeros. For numeric data, fields any summary function type listed by the FieldSummaryType enumerator can be calculated.

You can implement a custom summary function by handling the PivotGridControl.CustomSummary event.

See Also