AggregateOperand.Sum(CriteriaOperator) Method

Creates a new AggregateOperand instance that evaluates the summary value of a property the aggregateExpression argument specifies. The new operand computes the aggregate value against elements of the current operand's CollectionProperty that match the current operand's Condition.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.XamarinForms.Core.dll

Declaration

public AggregateOperand Sum(
    CriteriaOperator aggregatedExpression
)

Parameters

Name Type Description
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 "Product.Income".

Returns

Type Description
AggregateOperand

The new Sum operand.

See Also