when a content of the cell is selected and right mouse button is clicked , the default shortcut menu is getting displayed.
How to avoid shortcut menu?
santosh
How to hide cut,copy, paste menu (shortcut menu) in Datagridview cell?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Santosh3 pointsPosted Feb 14, 2006, 10:06 PM EST
private void dgv_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e) { ((DataGridViewTextBoxEditingControl)e.Control).ShortcutsEnabled = false; }