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

BinaryOperatorType Enum

Lists binary boolean operators the Criteria Language supports.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.XamarinForms.Core.dll

Declaration

[Serializable]
public enum BinaryOperatorType

Members

Name Description
Equal

The equal operator.

Pass a string like "Field1Name = Field2Name" into the CriteriaOperator.Parse method to create this operator from the string.

NotEqual

The inequality operator.

Pass a string like "Field1Name != Field2Name" into the CriteriaOperator.Parse method to create this operator from the string.

Greater

The greater than operator.

Pass a string like "Field1Name > Field2Name" into the CriteriaOperator.Parse method to create this operator from the string.

Less

The less than operator.

Pass a string like "Field1Name < Field2Name" into the CriteriaOperator.Parse method to create this operator from the string.

LessOrEqual

The less than or equal to operator.

Pass a string like "Field1Name <= Field2Name" into the CriteriaOperator.Parse method to create this operator from the string.

GreaterOrEqual

The greater than or equal to operator.

Pass a string like "Field1Name >= Field2Name" into the CriteriaOperator.Parse method to create this operator from the string.

Like

This operator is obsolete. The like operator. Use the StartsWith, EndsWith, or Contains function operators if possible.

BitwiseAnd

The bitwise AND operator.

Pass a string like "Field1Name & Field2Name" into the CriteriaOperator.Parse method to create this operator from the string.

BitwiseOr

The bitwise OR operator.

Pass a string like "Field1Name | Field2Name" into the CriteriaOperator.Parse method to create this operator from the string.

BitwiseXor

The bitwise XOR operator.

Pass a string like "Field1Name ^ Field2Name" into the CriteriaOperator.Parse method to create this operator from the string.

Divide

The division operator.

Pass a string like "Field1Name / Field2Name" into the CriteriaOperator.Parse method to create this operator from the string.

Modulo

The modulo operator (computes the dividing remainder of the first operand by the second).

Pass a string like "Field1Name % Field2Name" into the CriteriaOperator.Parse method to create this operator from the string.

Multiply

The multiplication operator.

Pass a string like "Field1Name * Field2Name" into the CriteriaOperator.Parse method to create this operator from the string.

Plus

The addition operator.

Pass a string like "Field1Name + Field2Name" into the CriteriaOperator.Parse method to create this operator from the string.

Minus

The subtraction operator.

Pass a string like "Field1Name - Field2Name" into the CriteriaOperator.Parse method to create this operator from the string.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BinaryOperatorType enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also