title: how to use isChecked as a command parameter in that same check boxes command
body: <p>So I have a check box that fires a command using WPF/MVVM this works fine but I want to use the IsChecked property of the check box as a command parameter. I tried this. </p>
  
  <pre><code>  &lt;CheckBox Margin="3" Content="Clear Selected OEM" 
                                Command="{Binding Path=ClearOemCommand}" 
                                CommandParameter="{Binding Path=IsChecked}"/&gt;
  </code></pre>
  
  <p>Bu I get an error in the output window that says </p>
  
  <pre><code>System.Windows.Data Error: 40 : BindingExpression path error: 'IsChecked' property not found on 'object'
  </code></pre>
  
  <p>I would know how to use find ancestor if I wanted to use the property from another control but I am stumped here - it's probably easier than I think... Just not making the connection in my mind. </p>
  
  <p>Thanks!  </p>