Skip to main content

BinaryOperatorType Enum

Lists binary boolean operators the Criteria Language supports.

Namespace: DevExpress.XamarinForms.Core.Filtering

Assembly: DevExpress.XamarinForms.Core.dll

NuGet Package: DevExpress.XamarinForms.Core

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.

See Also