You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am showing a ListView that uses a CollectionViewSource that is bound to an ObservableGroupedCollection.
The items in the ObservableGroupedCollection come from an ObservableCollection.
When I manually add items to the ObservableGroupedCollection, the UI updates.
However, when the underlying ObservableCollection is updated (an item is added or removed), the ObservableGroupedCollection isn't update so the UI isn't update either.
Is there a way to use an ObservableGroupedCollection in such a way that items that are added to the underlying collection cause UI updates?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am showing a ListView that uses a CollectionViewSource that is bound to an ObservableGroupedCollection.
The items in the ObservableGroupedCollection come from an ObservableCollection.
When I manually add items to the ObservableGroupedCollection, the UI updates.
However, when the underlying ObservableCollection is updated (an item is added or removed), the ObservableGroupedCollection isn't update so the UI isn't update either.
Is there a way to use an ObservableGroupedCollection in such a way that items that are added to the underlying collection cause UI updates?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions