title: XAML TextBlock TextAlignment vs HorizontalAlignment
body: <p>Consider the following XAML:</p>
  
  <pre><code>&lt;Grid&gt;
      &lt;TextBlock Text="Some Text" TextAlignment="Right" /&gt;
      &lt;TextBlock Text="Some Text" HorizontalAlignment="Right" /&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p>So long as both <code>TextBlock</code>s are set to the same <code>Grid.Row</code> and <code>Grid.Column</code>, they will always appear in the same place - one on top of the other.</p>
  
  <p>Similar concept, here - with the 2 lines of text in both the <code>StackPanel</code>s aligning exactly:</p>
  
  <pre><code>&lt;Grid&gt;
      &lt;StackPanel&gt;
          &lt;TextBlock Text="Line One" HorizontalAlignment="Right" /&gt;
          &lt;TextBlock Text="Line Two" TextAlignment="Right" /&gt;
      &lt;/StackPanel&gt;
      &lt;StackPanel&gt;
          &lt;TextBlock Text="Line One" HorizontalAlignment="Right" /&gt;
          &lt;TextBlock Text="Line Two" TextAlignment="Right" /&gt;
      &lt;/StackPanel&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p>And so on...</p>
  
  <hr>
  
  <p>In terms of displaying the text to the right of the parent, the <code>TextAlignment</code> and <code>HorizontalAlignment</code> attributes are both doing the same thing - from what I can see.</p>
  
  <p>Can anybody tell me what the actual difference between <code>TextAlignment</code> and <code>HorizontalAlignment</code> is, when it comes to <code>TextBlock</code>s?</p>
  
  <p>Is there a preferred choice of the two to use?</p>
  
  <p>Are there any implications to using either?</p>