title: How can I center a the text on of a Label?
body: <p>I'm creating a Silverlight 4 application and I want to have an image and some text below it centered.</p>
  
  <p>My idea is to have a stackpanel for this purpose but it seems that it centers the control but not the text.</p>
  
  <p>Any suggestions?</p>
  
  <pre><code>&lt;StackPanel Height="182" HorizontalAlignment="Left" Margin="306,76,0,0" Name="stackPanel1" VerticalAlignment="Top" Width="200"&gt;
      &lt;Image Height="100" Name="image1" Stretch="Fill" Width="100" HorizontalAlignment="Center"/&gt;
      &lt;dataInput:Label Content="Promedio" Height="20" Name="label4" Width="62" Foreground="Black" HorizontalAlignment="Center"/&gt;
  &lt;/StackPanel&gt;
  </code></pre>
  
  <p>Thanks for the help</p>