Skip to main content

AggregateOperand(String, String, Aggregate, CriteriaOperator) Constructor

Initializes an AggregateOperand instance with the specified collection property name, name of a property to aggregate, operator type, and filter criterion.

Namespace: DevExpress.XamarinForms.Core.Filtering

Assembly: DevExpress.XamarinForms.Core.dll

NuGet Package: DevExpress.XamarinForms.Core

Declaration

public AggregateOperand(
    string collectionProperty,
    string aggregatedExpression,
    Aggregate type,
    CriteriaOperator condition
)

Parameters

Name Type Description
collectionProperty String

The name of the collection property by whose objects the operand calculates an aggregate value. It can be a path through object relationships, for example "Employer.Addresses". This value is case-sensitive.

aggregatedExpression String

The name of the property of the object from the property collection that the operand uses to calculate the aggregate value. It can be a path through object relationships, for example "Address.City". This value is case-sensitive.

type Aggregate

The type of the aggregate operator.

condition CriteriaOperator

The filter criterion the operand uses to filter collection values by which it calculates the aggregate value. Pass null if the operand should aggregate all values.

See Also