title: How to move text to center of ListBox?
body: <p>I have almost tried everything but for some reason it is not working</p>
  
  <pre><code>&lt;StackPanel Orientation="Vertical" Grid.Row="1" Margin="5,30,5,10"&gt;
      &lt;TextBlock Text="View Options" FontSize="25" Style="{StaticResource PhoneTextNormalStyle}"/&gt;
      &lt;ListBox HorizontalContentAlignment="Stretch" Background="Red" ItemsSource="{Binding Path=ViewOptions}" Margin="10"&gt;
          &lt;ListBox.ItemTemplate&gt;
              &lt;DataTemplate&gt;
                  &lt;TextBlock HorizontalAlignment="Center" TextAlignment="Center" Text="{Binding}" FontSize="35" Margin="20" Style="{StaticResource PhoneTextNormalStyle}"/&gt;
              &lt;/DataTemplate&gt;
          &lt;/ListBox.ItemTemplate&gt;
      &lt;/ListBox&gt;
  &lt;/StackPanel&gt;
  </code></pre>
  
  <p>Above XAML give me</p>
  
  <p><img src="https://i.stack.imgur.com/LQj2M.png" alt="enter image description here"></p>
  
  <p>How to move the <code>textblock</code> to <code>center</code> of <code>listboxitem</code>?</p>