Possible Duplicate:
ObservableCollection that also monitors changes on the elements in collection
I have an application in WPF but I want to convert (all or some part) into MVVM.
I created a viewmodel which points to some ObservableCollections to be shown in the list view (one at a time, can be changed with radio buttons).
When the collections are changed I get a notification, however I don't get a notification when one of the items inside a collection is changed (i.e. IsSelected is changed from false/true or vice versa).
The only way I can see to make it work is to subscribe to the notifypropertychanged event handler for each of the items and when a new selection is made to remove the subscriptions and subscribe to the events of another collection, but this seems at least not the most ideal solution.
What solution is right for this problem? I checked some similar posts but they seem to be just a bit different.