
Hi all
i don't know whether this question already was placed here in the forum. I could't find that one.
Have to use WPF DataGrid for the project of mine. Looks like DataGrid doesnt have clean MVVM Friendly way of getting the list of selectedRows ?
I can data bind to
ItemsSource="{Binding StammGroups}" SelectedItem="{Binding SelectedGroup, Mode=TwoWay}"
but this only shows the 1st selected row. Need to be able to get all selected rows.
Any hints to do it cleanly via MVVM ?