Quantcast
Viewing all articles
Browse latest Browse all 18858

Does ListView support binding that is sensitive to changes made to items in the list?

I'm having trouble with a ListView as described here.

So I want to ask is it possible to have a ListView render objects that have multiple properties AND have theListView automatically update when these properties ON INDIVIDUAL items in the list are changed?

My ListView is bound to an ObservableCollection (tweaked to allow items to be added from non-gui threads) using theItemsSource property (Not DataContext).

As items get added they appear in the displayed list - but when properties within individual items are changed theListView does not update even though the objects implement INotifyPropertyChangedand there are simple controls (in the ListView entries) that are bound to these properties.

This articlestrongly implies that my code is actually behaving as expected BUT is it correct and if so HOW do people accomplish this rather straightforward need in the real world?

Thanks

Cap'n



Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>