title: Set DockPanel.Dock programmatically
body: <p>How set DockPanel.Dock="Left" programmatically</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;RadioButton DockPanel.Dock="Left" VerticalAlignment="Center" IsEnabled="False" /&gt;
  </code></pre>