选择BindingList和ObservableCollection的条件 [英] Criteria to select BindingList vs ObservableCollection

查看:325
本文介绍了选择BindingList和ObservableCollection的条件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道在使用WPF的MVVM实现中偏爱BindingList vs ObservableCollection 的标准是什么? MVVM中的几乎所有示例都带有Observable集合(至少是我的看法),有人知道为什么吗?
我用谷歌搜索了这个问题,但没有找到明确的答案.
谢谢.

Does someone know how what are the criterias to prefer BindingList vs ObservableCollection in a MVVM implementation with WPF? Almost all exemples in MVVM go with Observable collection (at least is my perception), does someone know why?
I googled this question but I did not find a clear answer.
Thanks.

推荐答案

我认为在这个stackoverflow论坛中讲得很好. ^ ]
I think in this stackoverflow forum explained pretty well.Difference between ObservableCollection and BindingList[^]


请查看以下链接:

http://stackoverflow.com/questions/5310190/custom- observablecollectiont-or-bindinglistt-with-support-for-periodic-notif [ http://stackoverflow.com/questions/4284663/difference-between-observablecollection-and-bindinglist [^ ]

http://stackoverflow.com/questions/455284/observablecollectionof-t-vs-bindinglistof-t [ ^ ]

问候,
爱德华
Please see links below:

http://stackoverflow.com/questions/5310190/custom-observablecollectiont-or-bindinglistt-with-support-for-periodic-notif[^]

http://stackoverflow.com/questions/4284663/difference-between-observablecollection-and-bindinglist[^]

http://stackoverflow.com/questions/455284/observablecollectionof-t-vs-bindinglistof-t[^]

Regards,
Eduard


这篇关于选择BindingList和ObservableCollection的条件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆