Skip to main content

AggregateOperand(OperandProperty, CriteriaOperator, Aggregate, CriteriaOperator) Constructor

Initializes an AggregateOperand instance with the specified criterion determining the collection property, criterion defining the 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(
    OperandProperty collectionProperty,
    CriteriaOperator aggregatedExpression,
    Aggregate type,
    CriteriaOperator condition
)

Parameters

Name Type Description
collectionProperty OperandProperty

The operand that specifies the collection property to aggregate by which the aggregate operator computes the aggregate value. The operand can specify a path through object relationships, for example "Employer.Addresses".

aggregatedExpression CriteriaOperator

The operator that specifies the property of an object from the collection by which the aggregate operator computes the aggregate value. The operator can specify a path through object relationships, for example "Address.City".

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