Quantcast
Channel: Data Binding in Collections
Viewing all articles
Browse latest Browse all 3

Data Binding in Collections

$
0
0

 

For the data binding to work in a collection is it necessary for the collection to implement the INotifyCollectionChanged (like using ObservableCollection)? Also, as per the documentation the objects in the collection should implement the INotifyPropertyChanged interface to fully support transferring data values from source objects to targets.

However, if I derive my class only from the List<> and the objects in the List<> do not implement INotifyPropertyChanged, the data binding still works perfectly fine for me. I have a Master-detail data and on changing the master value the corresponding detail value gets changed.


Viewing all articles
Browse latest Browse all 3

Trending Articles



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