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

Aggregate Enum

Lists aggregate functions the Criteria Language supports.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.XamarinForms.Core.dll

NuGet Package: DevExpress.XamarinForms.Core

Declaration

[Serializable]
public enum Aggregate

Members

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.

Related API Members

The following properties accept/return Aggregate values:

Remarks

The AggregateOperand.AggregateType property uses these enumeration values.

Note

  • AggregateOperand.AggregatedExpression must specify a path through object relationships (Sum([Income]) or Sum([Cargo.Price])), and does not support nested expressions and complex property paths like Max(Document.<PersonID>LastName).
  • AggregatedExpression may produce null instead of zero for an empty collection on a server side.
See Also