AggregateOperand Class
The operator that calculates an aggregate expression (MIN, MAX, SUM, etc.).
Namespace: DevExpress.Data.Filtering
Assembly: DevExpress.XamarinForms.Core.dll
Declaration
[Serializable]
public class AggregateOperand :
CriteriaOperator
Related API Members
The following members return AggregateOperand objects:
Remarks
You can use the AggregateOperand operand to compose criteria which are based on the collection properties to filter the collection. It represents the results of aggregate operations performed on these types of properties.
Note
- AggregateOperand.AggregatedExpression must specify a path through object relationships (
Sum([Income])
orSum([Cargo.Price])
), and does not support nested expressions and complex property paths likeMax(Document.<PersonID>LastName)
. - AggregatedExpression may produce
null
instead of zero for an empty collection on a server side.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AggregateOperand class.
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.