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.XamarinForms.Core.Filtering
Assembly: DevExpress.XamarinForms.Core.dll
NuGet Package: DevExpress.XamarinForms.Core
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 |
Returns
Type | Description |
---|---|
AggregateOperand | The new Avg operand. |
See Also