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

AggregateOperand Class

The operator that calculates an aggregate expression (MIN, MAX, SUM, etc.).

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.XamarinForms.Core.dll

NuGet Package: DevExpress.XamarinForms.Core

Declaration

[Serializable]
public class AggregateOperand :
    CriteriaOperator

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]) 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.

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.

Inheritance

See Also