Home Forums WinForms controls Xceed Grid for WinForms down button Reply To: down button

User (Old forums)
Member
Post count: 23064

Try something like this:<code>grid.KeyDown += new KeyEventHandler(grid_KeyDown);
private void grid_KeyDown(object sender, KeyEventArgs e) {
if (e.Control && e.Shift && !e.Alt) { // Ctrl+Shift
if (e.KeyCode == Keys.Down) { … }
else if (e.KeyCode == Keys.Up) { … }
else if …
}
}</code>

Imported from legacy forums. Posted by Tommy (had 174 views)