The requested page is not available for the requested platform. You are viewing the content for Default platform.

Aggregate Enum

Lists aggregate functions the Criteria Language supports.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.XamarinForms.Core.dll

Declaration

[Serializable]
public enum Aggregate

Members

Name Description
Avg

Evaluates the average of the values in the collection.

Count

Returns the number of objects in the collection.

Exists

Determines whether the object exists in the collection.

Max

Returns the maximum expression value in the collection.

Min

Returns the minimum expression value in the collection.

Single

Returns a single object from the collection.

Sum

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

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