<Window x:Class="TranslateTransform.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="TranslateTransform" Height="435" Width="525">
	<Grid>
		<Grid.RowDefinitions>
			<RowDefinition Height="314*" />
			<RowDefinition Height="82" />
		</Grid.RowDefinitions>

		<Button  HorizontalAlignment="Center" VerticalAlignment="Top" Margin="201,121,226,0" Height="75" Width="75"  Content="OK" Opacity="0.7">
			<Button.RenderTransform>
				<TranslateTransform X="{Binding ElementName=slider1, Path=Value}" Y="{Binding ElementName=slider2, Path=Value}" />
			</Button.RenderTransform>
		</Button >
		<Button  HorizontalAlignment="Center" VerticalAlignment="Top" Margin="201,121,226,0" Height="75" Width="75" Opacity="0.8" Content="OK">

		</Button >
		<Slider Height="23" Margin="12,0,165,41" Name="slider1" VerticalAlignment="Bottom" Maximum="180" Grid.Row="1" Minimum="-180" />
		<Slider Height="23" Margin="12,0,165,12" Name="slider2" VerticalAlignment="Bottom" Grid.Row="1" Maximum="180" Minimum="-180" />
		<TextBlock Grid.Row="1" Margin="0,16,12,0" Name="textBlock1" Text="{Binding ElementName=slider1, Path=Value}" Height="25" VerticalAlignment="Top" HorizontalAlignment="Right" />
		<TextBlock Margin="0,0,12,12" Name="textBlock2" Text="{Binding ElementName=slider2, Path=Value}" Grid.Row="1" Height="25" VerticalAlignment="Bottom" HorizontalAlignment="Right"  />
	</Grid>
</Window>
