I have a context menu strip and have set my DataGridView ContextMenuStrip property to it. I don't want the context menu to pop-up when (1) Clicking the DataGridView column header or (2) Clicking on any of the white space (non-rows) in the grid.
I've tried about everything I can think of and I'm at a loss.
↧