I have asked this question on MSDN forums as well ...
http://social.msdn.microsoft.com/Forums/en/wpf/thread/4493988a-9bd8-48fe-aff0-348502136a80
I need to know that why Microsoft suggests that BindingList
is not properly supported in WPF...
What is it that doesnt work with BindingList
in WPF? I find it pretty useful as it is. So far I personally have not found BindingList
any slower or a having more load on memory.
Plus WPF ItemsControls
, ItemsTemplates
, Styles
, Hierarchies
work great with BindingList
s too. They are equally observable.
Being a hardcore WPF developer myself and an ObservableCollection
fan, my faith is getting shaken by a been-there-done-that BindingList
....
Why should I use ObservableCollection
over BindingList?
(keeping aside INotifyPropertyChanged which both have to implement for item property changes)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…