在WPF中将IsEnabled绑定到IsCheck

我有CheckBox和RadioButton。 我需要将IsEnabled属性绑定到IsChecked属性

  

没有代码编写,有没有办法做到这一点?

是的,您需要使用ElementName ( MSDN )绑定: