title: Passing a Different button in Command Parameter Wpf
body: <p>Suppose, the followings are two buttons resides in a wpf user control.</p>
  
  <pre><code>&lt;Button x:Name="Option"  VerticalAlignment="Center" 
          Command="{Binding Path=OptionsButtonClickCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}}"&gt;
  
  &lt;Button x:Name="validity"  UseLayoutRounding="true"
              Command="{Binding Path=ValidityButtonClickCommand}"&gt;
  </code></pre>
  
  <p>In the click event of <code>Option</code> button, I am passing the button as CommandParameter in the view model. How can I pass the other(<code>validity</code>) button in the commandparameter rather than the <code>Option</code> button for the same event?</p>