【未解决问题】WPF绑定RadioButton控件
比如:
<RadioButton GroupName="r" Content="1" />
<RadioButton GroupName="r" Content="2" />
<TextBlock Text="{Binding Path=Content,Source={上面RadioButton选中的控件}}"
如果有知道的请评论告诉我,谢谢,只是通过绑定来实现就好,不需要通过后台处理的。。。,谢谢
比如:
<RadioButton GroupName="r" Content="1" />
<RadioButton GroupName="r" Content="2" />
<TextBlock Text="{Binding Path=Content,Source={上面RadioButton选中的控件}}"
如果有知道的请评论告诉我,谢谢,只是通过绑定来实现就好,不需要通过后台处理的。。。,谢谢
相关文章: