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

<!-- Example 3-31. Rotation of content -->

<StackPanel>
  <Button HorizontalAlignment="Left">
    <Line Stroke="Blue" Y1="30" X2="100" />
  </Button>
  <Button HorizontalAlignment="Left">
    <Line Stroke="Blue" Y1="30" X2="100">
      <Line.LayoutTransform>
        <RotateTransform Angle="50" />
      </Line.LayoutTransform>
    </Line>
  </Button>
</StackPanel>

<!-- End of Example 3-31. -->

</Page>