PivotGridFieldBase.SummaryDisplayType Property

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

Namespace: DevExpress.XtraPivotGrid

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

Declaration

[DefaultValue(PivotSummaryDisplayType.Default)]
public PivotSummaryDisplayType SummaryDisplayType { get; set; }
<DefaultValue(PivotSummaryDisplayType.Default)>
Public Property SummaryDisplayType As PivotSummaryDisplayType

Property Value

Type Default Description
PivotSummaryDisplayType

Default

A PivotSummaryDisplayType value that specifies how summary values are represented within cells.

Remarks

For each cell, the XtraPivotGrid calculates a summary against a corresponding data field. The summary type is determined by the PivotGridFieldBase.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.CustomCellValue or PivotGridControl.CustomSummary event. To specify the formatting settings use the data field's PivotGridFieldBase.CellFormat property.

See Also