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

ColumnInfo.Aggregation Property

Gets or sets the aggregation type applied to the current column.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v18.2.dll

Declaration

[DefaultValue(AggregationType.None)]
public AggregationType Aggregation { get; set; }

Property Value

Type Default Description
AggregationType **None**

An AggregationType enumeration value that specifies the aggregation type. This value is assigned to the ColumnInfo.Aggregation property.

Available values:

Name Description
None

Aggregation is not applied.

Count

The number of values.

Max

The largest value.

Min

The smallest value.

Avg

The average of the values.

Sum

The sum of the values.

CountDistinct

The number of different values.

AvgDistinct

The average of different values.

SumDistinct

The sum of different values.

See Also