标签: c# .net wpf xaml
我对第三方对象有一些约束力:
<TextBlock Text="{Binding myString.Length}" />
如何以编程方式刷新此绑定?
答案 0 :(得分:1)
应该首先使用谷歌:)
textBox1.GetBindingExpression(TextBox.TextProperty).UpdateTarget();