Xceed Grid for WinForms v4.3 Documentation
Constant Value, Range or List
Welcome to Xceed Grid for WinForms v4.3 > Basic Concepts > Input Validator control > Setting Up Validation Expressions Visually > The Validation Configuration Dialog Box > Criterion Types > Constant Value, Range or List

When the "Constant Value, Range or List" option is chosen (or any option other than "No Validation"), the input component selected in the Component dropdown list will be validated using the settings in the rest of the "Validation Configuration" dialog. 

All of the operators available in the Parameters group are enabled when this option is chosen. The validation criterion must then be configured by setting its data type, the operator to be used, and the value or values with which it will be compared.

Operators

Choosing one of the first six operators in the Parameters group enables the Value field. The operator chosen will be used to compare the value contained in the input component selected in the Component dropdown list with the value in the Value field.

Choosing "Between Min and Max" compares the input component's value to the range described by the Min and Max values. Note that the range is inclusive, meaning that the minimum and maximum values are also valid values.

Choosing either "In Set of Values" or "Not in Set of Values" enables a list box in which a set of values must be provided. The input component's value will be compared to this set when it is validated.

Other Options

For details on the Required Field, Case Sensitive, and Trim Left/Right checkboxes, and the Customize Error Messages for this Criterion link, see the Other Options topic.

See Also

Validation Level | Criterion Reference Name