Home Forums WinForms controls Xceed Grid for WinForms upper case Reply To: upper case

User (Old forums)
Member
Post count: 23064

You need to change the cell editor to a masked edit, with the following:

‘ Create a masked editor.
Dim gridMaskedTextBox As GridMaskedTextBox = New GridMaskedTextBox

‘ set the mask to Upper Case chars
gridMaskedTextBox.Mask = “>”

‘ Set gridMaskedTextBox as the cell editor.
GridControl1.Columns(“ComponentCode”).CellEditor = gridMaskedTextBox

Regards,
Bryce

Imported from legacy forums. Posted by bryceb (had 3042 views)