AggregateOperand.Max(CriteriaOperator) Method

Initializes a new AggregateOperand instance that evaluates the maximum value in the collection. 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 Max(
    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 Max operand.

See Also