<Window x:Class="SkewTransform.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
	<Grid>
		<Grid.RowDefinitions>
			<RowDefinition Height="237*" />
			<RowDefinition Height="159*" />
		</Grid.RowDefinitions>

		<Rectangle  HorizontalAlignment="Center" VerticalAlignment="Top" Margin="154,84,167,0" Height="41" Width="182" Opacity="0.5" Fill="#860074C3">
			<Rectangle.RenderTransform>
				<SkewTransform AngleX="{Binding ElementName=slider1, Path=Value}" AngleY="{Binding ElementName=slider2, Path=Value}" CenterX="{Binding ElementName=slider3, Path=Value}" CenterY="{Binding ElementName=slider4, Path=Value}" />
			</Rectangle.RenderTransform>
		</Rectangle >
		<Rectangle  HorizontalAlignment="Center" VerticalAlignment="Top" Margin="154,84,167,0" Height="41" Width="182" Opacity="0.5" Fill="#F00074C3">

		</Rectangle >


		<Slider Margin="29,0,148,96" Name="slider1" Maximum="180" Grid.Row="1" Minimum="-180" Height="23" VerticalAlignment="Bottom" />
		<Slider Margin="29,0,148,65" Name="slider2" Grid.Row="1" Maximum="180" Minimum="-180" Height="23" VerticalAlignment="Bottom" />
		<Slider Height="23" Margin="29,0,148,36" Name="slider3" VerticalAlignment="Bottom" Grid.Row="1" Maximum="200" />
		<Slider Height="23" Margin="29,0,148,7" Name="slider4" VerticalAlignment="Bottom" Grid.Row="1" Maximum="200" />

		<TextBlock Grid.Row="1" HorizontalAlignment="Right" Margin="0,0,12,96" Name="textBlock1" Text="{Binding ElementName=slider1, Path=Value}" Height="25" VerticalAlignment="Bottom"  />
		<TextBlock Margin="0,0,12,65" Name="textBlock2" Text="{Binding ElementName=slider2, Path=Value}" Grid.Row="1" Height="25" VerticalAlignment="Bottom" HorizontalAlignment="Right"  />
		<TextBlock Height="25" Margin="0,0,12,36" Name="textBlock3" Text="{Binding ElementName=slider3, Path=Value}" VerticalAlignment="Bottom" Grid.Row="1" HorizontalAlignment="Right"  />
		<TextBlock Height="25" Margin="0,0,12,12" Name="textBlock4" Text="{Binding ElementName=slider4, Path=Value}" VerticalAlignment="Bottom" Grid.Row="1" HorizontalAlignment="Right" Width="6" />
		<Ellipse Height="7" HorizontalAlignment="Left" Margin="154,84,0,0" Name="ellipse1" Stroke="#BFFF0000" VerticalAlignment="Top" Width="7" Fill="#BFFF0000" Opacity="0.9" AllowDrop="True" >
			<Ellipse.RenderTransform>
				<TranslateTransform X="{Binding ElementName=slider3, Path=Value}" Y="{Binding ElementName=slider4, Path=Value}" />
			</Ellipse.RenderTransform>
		</Ellipse>

	</Grid>
</Window>
