title: WPF element databinding for IsEnabled (but for false)
body: <p>I'm a starter in WPF, and there's something I can't seem to figure out.</p>
  
  <p>I have a <code>CheckBox</code> that I would like to disable when a <code>RadioButton</code> is not selected.
  My current syntax is:</p>
  
  <pre><code>&lt;CheckBox IsEnabled="{Binding ElementName=rbBoth, Path=IsChecked}"&gt;Show all&lt;/CheckBox&gt;
  </code></pre>
  
  <p>So basically, I want IsEnabled to take the opposite value than the binding expression I'm currently supplying.</p>
  
  <p>How can I do this? Thanks.</p>