Skip to main content

AggregateOperand(String, String, CriteriaOperator) Constructor

Initializes a new instance of the AggregateOperand class with specified settings.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v22.2.dll

NuGet Package: DevExpress.Data


public AggregateOperand(
    string collectionProperty,
    string customAggregateName,
    CriteriaOperator condition


Name Type Description
collectionProperty String

A String value that specifies the name of the collection property whose values are used to calculate the aggregate expression. It can be represented by a path through object relationships, for example “Employer.Addresses”.

customAggregateName String

A custom aggregate function‘s name. This value cannot be null (Nothing in Visual Basic) or match a standard aggregate name: Sum, Min, Max, Avg, Count, Exists, or Single.

condition CriteriaOperator

A CriteriaOperator object that represents the filter criteria. null (Nothing in Visual Basic) if the filter criteria isn’t needed. This value is assigned to the AggregateOperand.Condition property.

See Also