GroupOperator Class
A logical expression which groups two or more operands with a logical AND or OR.
Namespace: DevExpress.Data.Filtering
Assembly: DevExpress.Data.v21.2.dll
NuGet Packages: DevExpress.Data, DevExpress.Win.Design
Declaration
Related API Members
The following members return GroupOperator objects:
Remarks
The GroupOperator can be used to build criteria expressions when filtering objects. To learn more, see Creating Criteria and Criteria Operators.
Example
This example retrieves the cars that belong in the Saloon category and which cost less than $100,000.
The result is shown in the image below:
xpView1.GroupCriteria = GroupOperator.And(new BinaryOperator("Category", "Saloon"),
new BinaryOperator("Price", 100000, BinaryOperatorType.Less));
Inheritance
Object
CriteriaOperator
GroupOperator
See Also