title: Binding a WPF Button CommandParameter to the Button itself in DataTemplate
body: <p>I have a DataTemplate that represents AppBar buttons that I declare through a collection of custom AppBarCommand objects.</p>
  
  <pre><code>  public AppBarCommand(RelayCommand command, string buttonstyle)
    {
       Command = command;
       ButtonStyle = buttonstyle;
    }
  
  &lt;DataTemplate&gt;
     &lt;Button Command="{Binding Command}"
             Style="{Binding ButtonStyle, Converter={StaticResource StringNameToStyleConverter}}"/&gt;
  &lt;/DataTemplate&gt;
  </code></pre>
  
  <p>I would like to add a CommandParameter binding, but the parameter has to be the Button itself. This is so I can set the PlacementTarget of a Callisto flyout. Is this possible?</p>