title: Set TextBlock to preserve white space at the beginning and at the end?
body: <h2>EDIT:</h2>
  
  <p>The code below actually works as I want - this question a little misleading. Please ignore it. </p>
  
  <hr>
  
  <p>Normally when I set <code>Text</code> property of <code>TextBlock</code> like this:</p>
  
  <pre><code>TextBlock tb = new TextBlock();
  tb.Text = "     Hello World ";
  </code></pre>
  
  <p>The whitespace at the beginning and at the end of text are not shown. The text shown by <code>TextBlock</code> is only <code>Hello World</code>. How can I set <code>TextBlock</code> to display them (i.e., not remove the whitespace)? Am I missing some property?</p>