Question

I'm having one ContextMenustrip & DevExpress XtraGridView. And i shown the ContextMenustrip to the user when user right clicks on the XtraGridView, for that i used XtraGridView's MouseDown() event. Issue of this application is that when my gridview contains minimum rows then it shows the some empty space at the end of the Gridview. And i don't want to show the ContextMenustrip in that empty space of the XtraGridView when user right click on the gridview. I just want to show the ContextMenustrip at selected row position only. Is this possible to avoid this problem?

thanks..

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top