Tab

ASPxSummaryItemBase.SummaryType Property

Gets or sets the aggregate function type.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

Declaration

[DefaultValue(SummaryItemType.None)]
public SummaryItemType SummaryType { get; set; }

Property Value

Type Default Description
SummaryItemType

None

One of the SummaryItemType enumeration values.

Available values:

Name Description
Sum

The sum of all values in a column.

Min

The minimum value in a column.

Max

The maximum value in a column.

Count

The record count.

Average

The average value of a column.

Custom

Specifies whether calculations should be performed manually using a specially designed event.

None

Disables summary value calculation.

Remarks

There are five predefined aggregate functions. These are: Sum, Min, Max, Average, Count. To implement your own aggregate function, set the SummaryType property to Custom, and handle the ASPxGridBase.CustomSummaryCalculate event.

See Also