Home Forums WinForms controls Xceed Grid for WinForms Right Click on Column

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #15886 |

    Hi all – I’ve been trying to register an event for when a user right-clicks on a column in a Grid Control. I’ve tried a few click events (mouse click, mouse down) to no avail. Since the right click does not select anything be default (and I like that behavoir within the actual grid), when I right click over a column and display the current column I get the current selected column within the grid – not what column was right clicked on.
    I’m using c#.

    Any Ideas?

    Thanks!

    Imported from legacy forums. Posted by earle36 (had 2050 views)

    Xceed Support
    Member
    Post count: 5658

    You need to subscribe to the click event on the cells and use their ParentColumn property to access them.

    Imported from legacy forums. Posted by CharlesB (had 3071 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.