Xceed Grid for WinForms v4.3 Documentation
Other Control Value
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 > Other Control Value

When "Other Control Value" is chosen in the Criterion Type group, the values of two controls can be compared. The value contained in the input component selected in the Component dropdown list is compared with the value of the input component indicated by the Compared Control dropdown list in the Parameters group. The first six operators are available in the Operator group to indicate the logical relationship between the values of the two input components. In the image below, the validation criterion associated with textBox1 will be evaluated as valid only if textBox2 does not contain the same Int32 value.

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