Hi.
I want to implement a panel to set user permissions. So i have a PermissionListView where the ItemSource is an ObservableCollection and in this PermissionListView I have a Checkbox for each Item which is bound to PermissionViewModel.Checked. I debugged it and this works.
The user gets selected in another ListView(UserListView). But I dont see a more MVVM like method to check the Permissions which are contained in UserListView.SelectedItem.Permissions, than simply use the OnSelectionChanged event to iterate over the ObservableCollection and set PermissionViewModel.Checked = true or false.
But since a change of the properties doesn't fire the CollectionChanged event the panel still shows the selection of the last user.
Is there any more MVVM like way to accomplish a 'Check all PermissionViewModels that are also in UserListView.SelectedItem.Permissions' ?
If not, how can i cause a visible update in the Listview after setting the Checked properties of the list's items?