title: How to set DockPanel.Dock value in a Setter?
body: <p>When creating a <em>style</em> or <em>trigger</em> e.g. for a TextBlock in XAML you can easily do:</p>
  
  <pre><code>        &lt;Setter Property="Width" Value="64" /&gt;
  </code></pre>
  
  <p>How to do the same with <code>'DockPanel.Dock'</code>, which is an attached property?</p>