Skip to main content

ColumnInfo.Aggregation Property

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

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v24.2.dll

NuGet Package: DevExpress.DataAccess

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