title: Convert code binding to XAML
body: <p>Have hard time converting following code to XAML:</p>
  
  <pre><code>var b2 = new Binding("Toggled") { RelativeSource = new RelativeSource(RelativeSourceMode.Self) };
  button.SetBinding(ButtonBase.CommandParameterProperty, b2);
  </code></pre>
  
  <p>Tried:</p>
  
  <pre><code>CommandParameter="{Binding Toggled, RelativeSource=Self}" 
  </code></pre>
  
  <p>But this doesn't work, "Relative source does not support converting from a string"</p>