Disabling cell selection in DataGrid
-
I am using a DataGrid (yes, I know I should be using DataGridView by now!) and I want to disable cell selection. I am talking about the text in a cell getting selected when the users clicks in a cell. I don't want this because I am using a context-menu on the DataGrid that should appear when user right-clicks on a cell, and this doesn't work when user right-clicks on a selected cell because then the Windows edit menu pops up instead.
-
I am using a DataGrid (yes, I know I should be using DataGridView by now!) and I want to disable cell selection. I am talking about the text in a cell getting selected when the users clicks in a cell. I don't want this because I am using a context-menu on the DataGrid that should appear when user right-clicks on a cell, and this doesn't work when user right-clicks on a selected cell because then the Windows edit menu pops up instead.