<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      HorizontalAlignment="Center" VerticalAlignment="Center"
      TextElement.FontFamily="Palatino Linotype"
      FontSize="40">

<!-- Example 14-5. Setting text decorations -->

<Span>
  <Span.TextDecorations>
    <TextDecoration Location="Underline" PenOffset="4">
      <TextDecoration.Pen>
        <Pen Brush="Blue" Thickness="1" />
      </TextDecoration.Pen>
    </TextDecoration>
    <TextDecoration Location="StrikeThrough">
      <TextDecoration.Pen>
        <Pen Brush="LightGreen" Thickness="2" />
      </TextDecoration.Pen>
    </TextDecoration>
  </Span.TextDecorations>
  Highly decorated
</Span>

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

</Page>
