Skip to main content

AggregateOperand Class

An aggregate operator which calculates aggregate expressions (MIN, MAX, SUM, etc.)

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v23.1.dll

NuGet Package: DevExpress.Data


public class AggregateOperand :


The AggregateOperand is used to compose criteria which are based on the collection properties (the “many” end of a one-to-many or many-to-many relationship) to filter the XPCollection. It represents the results of aggregate operations performed on these types of properties.


  • AggregateOperand does not support nested expressions and complex property paths like Max(Document.<PersonID>LastName). Only names of owned properties are supported: Max(Document).

  • AggregateOperand may produce null instead of zero for an empty collection on a server side.

For more information and examples, see How to: Build Complex Criteria.


You can find examples in the following article: Build Criteria - Cheat Sheet.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AggregateOperand class.


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.


See Also