title: Binding a button's IsEnabled property to 2 checkbox IsChecked properties in XAML
body: <p>I would like to enable a button when either of the 2 check boxes are checked.
  When neither of the check boxes are checked, the button should be inactive(IsEnabled = false)</p>
  
  <p>It is possible to bind like this. </p>
  
  <blockquote>
    <p>IsEnabled="{Binding ElementName=CheckBox Path=IsChecked}"</p>
  </blockquote>
  
  <p>But it works only for a single checkbox. I want to bind both the check boxes IsChecked properties to the IsEnabled property of button in XAML itself. (I know how to do using property changed in code)</p>
  
  <p>I tried using Multi triggers. </p>
  
  <pre><code>            &lt;Button.IsEnabled&gt;
                  &lt;MultiBinding&gt;
                      &lt;MultiBinding.Bindings&gt;                                                  &lt;Binding ElementName="BlankmeasurementCheckBox" Path="IsChecked"/&gt;
                       &lt;Binding ElementName="MeasurementCheckBox" Path="IsChecked"/&gt;
                    &lt;/MultiBinding.Bindings&gt;
               &lt;/MultiBinding&gt;
            &lt;/Button.IsEnabled&gt;
  </code></pre>
  
  <p>But it doesn't seem to help. Could you please help me out? Thanks in advance.</p>