Silverlight的:如何强制绑定设置DataContext属性后, [英] Silverlight: How to force binding after setting the DataContext property

查看:144
本文介绍了Silverlight的:如何强制绑定设置DataContext属性后,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能一个用户控件的DataContext属性设置已经被安装在用户控件之后,并强制用户控件重新绑定?

Is it possible to set the DataContext property of a usercontrol after the user control has been loaded, and force the usercontrol to rebind?

推荐答案

我是pretty的肯定,如果你只是重新设定的datacontext,它会重新绑定

I'm pretty sure that if you just set the datacontext again, it will rebind

这篇关于Silverlight的:如何强制绑定设置DataContext属性后,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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