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.1.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public AggregationType Aggregation { get; set; }

Property Value

Type Description
AggregationType

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