Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
"XamDataGrid SelectedItems for MVVM" example: Issue using "Shift" + "selection via mouse click"


I'm using the approach ( from Petar Monov to bind the SelectedItems from the XamDataGrid to my ViewModel.

The issue that I found happens if I select Data from my ViewModel and then use the "Shift"+"selection via mouse click" on a not selected record from the XamDataGrid. Using "Shift"+"selection via mouse click" I expect that I get a range of selected records, instead I observe that the clicked Record is the only selected record. This issue can be observed in the example from the blog.

Which property of the XamDataGrid do I have to set to make this kind of selection work?

Kind regards,