[英]How to refresh binding to property that doesn't support INotyfyPropertyChanged?
I have some binding to third party object:我与第三方 object 有一些绑定:
<TextBlock Text="{Binding myString.Length}" />
How to refresh this binding programmatically?如何以编程方式刷新此绑定?
Should have used google first:)应该先用谷歌:)
textBox1.GetBindingExpression(TextBox.TextProperty).UpdateTarget();
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.