摘要:
绑定到另一个控件的属性<StackPanel> <TextBox x:Name="theTextBox"/> <TextBlock Text="{Binding Text, ElementName=theTextBox}"/></StackPanel>上面这个例子,TextBlock的内容绑定了TextBox,当在TextBox里输入文本是,TextBlock也同时显示---绑定到 RelativeSource<ListBox ItemsSource="{Binding MyDataSrc} 阅读全文
posted @ 2010-08-18 14:58
zip's
阅读(507)
评论(0)
推荐(0)

浙公网安备 33010602011771号