Home Forums WinForms controls Xceed Grid for WinForms TextEditor Context Menu Override Reply To: TextEditor Context Menu Override

User (Old forums)
Member
Post count: 23064

It is not possible to do it with a WinTextBox (the default editor for a string column), but you can do it using a regular .NET TextBox.

e.g.:

ContextMenu contextMenu = new ContextMenu();

//setup the contextMenu

TextBox textBox = new TextBox();

textBox.ContextMenu = contextMenu;

gridControl1.Columns[

“string column” ].CellEditorManager = new CellEditorManager( textBox, “Text”, true, true );

 

Imported from legacy forums. Posted by André (had 936 views)