I've recently started to use Visual Studio 2010 and its new version of the WPF Datagrid control. I've noticed something weird with it and was wondering whether it was my code, by design or a bug in the control?
I've created a simple datagrid and bound it to a dataview. If I set its IsEnabled attribute to false, I would expect not to be able to click any of the rows to select (highlight) them. This is true if I click with the left mouse button, however clicking with the right mouse button selects the row as if the control was active (although the context menu does not appear).
Has anyone else experienced this?
(I've not tested whether this right clicking updates the SelectedItem attribute)