Skip to main content
A newer version of this page is available. .

AggregateOperand.Avg(CriteriaOperator) Method

Initializes a new AggregateOperand instance that evaluates the average 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 Avg(
    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 "Address.City".

Returns

Type Description
AggregateOperand

The new Avg operand.

See Also