In WPF, we can use ObservableCollection<T> to binding to a ItemsControl so that it dynamically update the UI when the collection changed. Today I saw another BindingList<T> which can do the same thing like the ObservableCollection<T> does. But the BindingList<T> doesn’t implement the INotifyCollectionChanged; so I feel I was wrong that an collection which implements the INotifyCollectionChanged interface can do this thing alike. Is there any explanation about this feature?
In WPF, we can use ObservableCollection<T> to binding to a ItemsControl so that it
Share
But it implements IRaiseItemChangedEvents.
I think BindingList was designed with more complex DataBinding scenarios, that allow add and edit items from view.
INotifyCollectionChanged is only to tell, when the list changed.
WPF probably has spefic implementation to support BindingList.