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

JoinOperand.AggregateType Property

Gets or sets the type of the aggregate operator.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v19.2.dll

Declaration

public Aggregate AggregateType { get; set; }

Property Value

Type Description
Aggregate

An Aggregate enumeration value that 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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AggregateType property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also