The example shows us setting the type of data which should be entered into the text box and then subscribing to the corresponding event.
In that event handler, we check if the input is valid (don't know what all that does, but it works - play with it) and, if so, cast the value to the correct data type in order to use for some purpose.
The Grid Grouping Control lets you define restrictions on what data can or should be entered in a cell.
When an incorrect data is entered in the cell, it will display an error icon and an error message.
To validate this type of editing, call Current Cell.
Validate method after editing the value of the current cell.
You can read more about regular expressions in MSDN starting at following URL: Regular Expression Validator is assigned to input field it looks like this in property grid: Super Validator component includes Comparison Validation that allows you to compare values of two input fields or to compare input field value to a predefined value you set.If any one or more of the conditions is not met, the program should indicate the error and allow the user to fix it.The program indicates the error by placing an exclamation icon next to the control that is in error.For example, the number (702)555-1212 would be entered 7025551212.If all of these conditions are met, the program accepts the data input, signified by a message box.