Rotation of content by using RotateTransform
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" HorizontalAlignment="Center" VerticalAlignment="Center"> <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> </Page>