Skip to main content
A newer version of this page is available. .

IModelColumnSummaryItem.SummaryType Property

Specifies the function that calculates a value over all records within the current column (total summary).

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

SummaryType SummaryType { get; set; }

Property Value

Type Description
SummaryType

A SummaryType enumeration value specifying the function that calculates a value over all records within the current column (total summary).

Available values:

Name Description
None

Specifies that summary calculations must not be performed.

Sum

Specifies that the sum of a column’s values must be calculated.

Min

Specifies that a column’s minimum value must be calculated.

Max

Specifies that a column’s maximum value must be calculated.

Count

Specifies that the number of records within a column must be calculated.

Average

Specifies that a column’s average value must be calculated.

Custom

Specifies that a summary value must be calculated using a custom algorithm which is implemented in the grid View’s CustomSummaryCalculate event handler. For details, refer to the Working with Summaries in Code topic.

Remarks

This property is considered by a grid control that visualizes the current List View in a Windows Forms application.

The total summary value is displayed within the grid footer under the column, if the List View node’s IModelListView.IsFooterVisible property is set to true.

By default, this property is set to SummaryType.None.

See Also