Infragistics Windows Grid
https://stackoverflow.com/questions/234087
No correct solution
OTHER TIPS
RegexPattern property for the column is used for cell value validation. So if you set this property and your user tries to edit a value in the column, it will be validated against this Regex, after he is done.
Which version of NetAdvantage are you using? There is no RegexPattern property of the UltraGridCell class in NetAdvantage 2008.
However, if you are refering to the RegexPattern property of the UltraGridColumn class it will do what you want. The value of the cell must give exactly one match or else the validation will fail.
The Regex property only validates after a users clicks out of the cell. It does not restrict the initial entry. I would try modifying the UltraGrid.KeyDown event if you want to apply the RegexPattern to the key value as they are entered.