title: What is the difference between HorizontalAlignment and HorizontalContentAlignment in WPF?
body: <p>What is the difference between:</p>
  
  <ul>
  <li><code>HorizontalAlignment="Stretch"</code> </li>
  <li><code>HorizontalContentAlignment="Stretch"</code></li>
  </ul>
  
  <p>in a textbox in WPF?</p>
  
  <p>Sample example:</p>
  
  <pre><code>&lt;TextBox HorizontalAlignment="Stretch"
              HorizontalContentAlignment="Stretch"
              Height="100"
              TextWrapping="Wrap"
              AcceptsReturn="True"
           &gt;&lt;/TextBox&gt;
  </code></pre>