All docs
V20.2
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

AggregateOperand(OperandProperty, IEnumerable<CriteriaOperator>, String, CriteriaOperator) Constructor

Initializes a new instance of the AggregateOperand class with specified settings.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v20.2.dll

Declaration

public AggregateOperand(
    OperandProperty collectionProperty,
    IEnumerable<CriteriaOperator> aggregatedExpressions,
    string customAggregateName,
    CriteriaOperator condition
)
Public Sub New(
    collectionProperty As OperandProperty,
    aggregatedExpressions As IEnumerable(Of CriteriaOperator),
    customAggregateName As String,
    condition As CriteriaOperator
)

Parameters

Name Type Description
collectionProperty OperandProperty

A String value that specifies the name of the collection property whose values are used to calculate the aggregate expression. It can be represented by a path through object relationships, for example "Employer.Addresses".

aggregatedExpressions IEnumerable<CriteriaOperator>

A collection of aggregated expressions to be assigned to the AggregateOperand.CustomAggregateOperands property.

customAggregateName String

A custom aggregate function's name. This value cannot be null (Nothing in Visual Basic) or match a standard aggregate name: Sum, Min, Max, Avg, Count, Exists, or Single.

condition CriteriaOperator

A CriteriaOperator object that represents the filter criteria. null (Nothing in Visual Basic) if the filter criteria isn't needed. This value is assigned to the AggregateOperand.Condition property.

See Also