<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      HorizontalAlignment="Center" VerticalAlignment="Center">

<!-- Example 14-30. Top and Bottom vs. TextTop and TextBottom -->

<TextBlock Background="LightGreen"
           LineStackingStrategy="BlockLineHeight" LineHeight="40">
  Alignment:
  <Span FontSize="20" BaselineAlignment="Baseline">Baseline</Span>
  <Span BaselineAlignment="TextTop">TextTop</Span>
  <Span BaselineAlignment="Top">Top</Span>
  <Span BaselineAlignment="TextBottom">TextBottom</Span>
  <Span BaselineAlignment="Bottom">Bottom</Span>
</TextBlock>

<!-- End of Example 14-30. -->

</Page>
