Reputation: 790
I have a class FriendsByFirstLetter derived from ObservableCollection<Group<Friend>>
, where Group<T>
is derived from ObservableCollection<T>
too.
I've set FriendsByFirstLetter
object - myFriendsByFirstLetter
to myLonglistselector.ItemsSource
.
Now I change (myFriendsByFirstLetter[0][0] as Friend).Age = 111;
property, but myLonglistselector doesn't show changes, though it shows changes after
myFriendsByFirstLetter[0][0] = myFriendsByFirstLetter[0][0];
What i have to do to make myLonglistselector autoupdate itself automatically?
Upvotes: 1
Views: 297
Reputation: 26344
Your Friend
class needs to implement INotifyPropertyChanged
.
Upvotes: 1