AggregateOperand.AggregateType Property

Gets or sets the type of the aggregate operator.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v21.1.dll

Declaration

public Aggregate AggregateType { get; set; }

Property Value

Type Description
Aggregate

An Aggregate enumeration value which specifies the type of the aggregate operator.

Available values:

Name Description
Exists

Determines whether the object exists in the collection.

Count

Returns the number of objects in the collection.

Max

Returns the maximum expression value in the collection.

Min

Returns the minimum expression value in the collection.

Avg

Evaluates the average of the values in the collection.

Sum

Returns the sum of all the expression values in the collection.

Single

Returns a single object from the collection. The collection must contain no more than one object.

Custom

Returns a custom aggregate function‘s result.

See Also