Skip to main content
Tag

PivotGridField.SummaryDisplayType Property

Gets or sets how a summary value calculated against the current data field is represented in a cell. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

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

#Declaration

[XtraSerializablePropertyId(2)]
[XtraSerializableProperty]
public FieldSummaryDisplayType SummaryDisplayType { get; set; }

#Property Value

Type Description
FieldSummaryDisplayType

A FieldSummaryDisplayType enumeration member that specifies how summary values are represented within cells.

#Remarks

For each cell, the DXPivotGrid calculates a summary against a corresponding data field. The summary type is determined by the PivotGridField.SummaryType property. The SummaryDisplayType property specifies how the calculated summary value is represented within cells ("as is", or adjusted using a specific predefined algorithm). See Summary Display Modes for more details.

To implement custom summaries, handle the PivotGridControl.CustomCellDisplayText or PivotGridControl.CustomSummary event. To specify the formatting settings use the data field's PivotGridField.CellFormat property.

See Also