Aggregate Enum
Lists aggregate functions the Criteria Language supports.
Namespace: DevExpress.XamarinForms.Core.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
- Aggregate
Operand. must specify a path through object relationships (Aggregated Expression Sum([Income])
orSum([Cargo.
), and does not support nested expressions and complex property paths likePrice]) Max
.(Document.<Person ID>Last Name) - Aggregated
Expression may producenull
instead of zero for an empty collection on a server side.