Home Forums WinForms controls Xceed Grid for WinForms Double Click Event Reply To: Double Click Event

User (Old forums)
Post count: 23064

If it’s a row without cells, you can catch the DoubleClick-event of the row itself. If it’s a row with cells (CellRow, ValueRow, DataRow, …), you have to catch the DoubleClick-event of the individual cells, like this:
foreach(Xceed.Grid.Cell cell in row.Cells) cell.DoubleClick += new EventHandler(CellDoubleClick);
private void CellDoubleClick(object sender, EventArgs e)
Xceed.Grid.CellRow row = (sender as Xceed.Grid.Cell).ParentRow;

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