Home Forums WinForms controls Xceed Grid for WinForms How to select cell or row on right click? Reply To: How to select cell or row on right click?

User (Old forums)
Member
Post count: 23064

You could use the <b>GetVisualGridElementAtPoint</b>-method. You can pass it a Point-object or 2 integers (int x, int y). It returns an object of type <b>VisualGridElement</b>. Check if you can cast the object to a Cell or a Row. If you can cast it to a cell, you can get the row from the <b>ParentRow</b>-property.

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