Home Forums WinForms controls Xceed Grid for WinForms How to detect (right) click in column header Reply To: How to detect (right) click in column header

User (Old forums)
Member
Post count: 23064

1. If a row contains cells (ColumnManagerRow, DataRow, CellRow, …), you can’t catch any mouse events on the row itself: you have to catch mouse events on the individual cells.
2. To catch a right-click event, you can’t use the Click-event: you should use the MouseDown-event and check if the right mouse button was used.

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