Xceed Grid for WinForms v4.3 Documentation
Operators
Welcome to Xceed Grid for WinForms v4.3 > Basic Concepts > Input Validator control > Setting Up Validation Expressions Visually > The Validation Configuration Dialog Box > Parameters > Operators

The operators in the Operator group indicate the relationship between the value in the input component selected in the Component dropdown list and the value or values indicated by the developer.

The Operators

When one of the first six operators is chosen (Equal To, Not Equal To, Less Than, Greater Than, Less Than or Equal To, or Greater Than or Equal To), the Value field to the right of the operators is enabled, in which a single constant value must be provided. The value in the selected input component will be compared to this constant.

When the "Between Min and Max" operator is chosen, a range can be designated for the selected input component. The Min and Max fields are enabled, in which the minimum and maximum values that the input component should accept must be provided. Note that these values are inclusive, meaning that a Min value of 2 and a Max value of 5 would make any value from 2 to 5, including 2 and 5, valid. 

Finally, when either "In Set of Values" or "Not in Set of Values" is chosen, a list box appears to the right of the operators. A set of values to which the input component's value will be compared must be provided, one value per line.   

Validation Error Messages and Operators

When the logic of the operator specified for a validation criterion is not respected, the message defined in the "Operators" tab of the "Default Validation Error Messages for ValidationProvider" dialog is used. If a custom message has been defined for the validation criterion, the corresponding message in the "Customize Validation Error Messages for Criterion" dialog is used.

See Also

Setting Up Default Error Messages | Customizing Error Messages