How can I disable selecting in a WPFTooklit\'s DataGrid?
I tried modifying the solution that works for ListView (from WPF ListView turn off selecti
The only proper way I found to do this is to disable IsHitTestVisible property on DataGridRowStyle.
Click events will still register despite the naming. Make sure you do not change this property on the whole DataGrid unless you also want to disable scrolling.
A clean way of doing this is through a new Style in your static resources (copying other setters as appropriate)
and then binding it on your DataGrid