与控件绑定
绑定到已命名控件
<TextBox Name="other">
<!-- 绑定到命名为“other”控件的Text属性 -->
<TextBlock Text="{Binding #other.Text}"/><TextBox Name="other">
<TextBlock Text="{Binding Text, ElementName=other}"/>绑定到祖先
<Border Tag="Hello World!">
<TextBlock Text="{Binding $parent.Tag}"/>
</Border>最后更新于