开发者

What does the bindinglistener in mvvmlight do

I have been doin开发者_JAVA百科g some silverlight recently and was told that the bindinglistener in mvvmlight would be helpful.what does this class do?


In Silverlight 3, you cannot derive from DependencyObject, so you cannot add DependencyProperties to just any object. To work around that, you can use a BindingListener that will listen to property changes and then notify the bindings that something happened.

This limitation was lifted in Silverlight 4 so you don't need the binding listener if you upgrade to this version of Silverlight.

Makes sense? Cheers, Laurent

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜