<Window x:Class="WPFManipulation.MainWindow"
		xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		Title="MainWindow" Height="600" Width="800">
	<Grid>
		<Canvas x:Name="canvas"
				Background="Beige"
				ManipulationStarting="canvas_ManipulationStarting"
				ManipulationDelta="canvas_ManipulationDelta"
				ManipulationCompleted="canvas_ManipulationCompleted">
			
			<TextBlock x:Name="touchStatus" FontSize="30" Text="Touch" />
			<ListBox Width="216" Height="242" FontSize="36" Canvas.Top="80" >
				<ListBoxItem>Item 1</ListBoxItem>
				<ListBoxItem>Item 2</ListBoxItem>
				<ListBoxItem>Item 3</ListBoxItem>
				<ListBoxItem>Item 4</ListBoxItem>
				<ListBoxItem>Item 5</ListBoxItem>
				<ListBoxItem>Item 1</ListBoxItem>
				<ListBoxItem>Item 2</ListBoxItem>
				<ListBoxItem>Item 3</ListBoxItem>
				<ListBoxItem>Item 4</ListBoxItem>
				<ListBoxItem>Item 5</ListBoxItem>
				<ListBoxItem>Item 1</ListBoxItem>
				<ListBoxItem>Item 2</ListBoxItem>
				<ListBoxItem>Item 3</ListBoxItem>
				<ListBoxItem>Item 4</ListBoxItem>
				<ListBoxItem>Item 5</ListBoxItem>
				<ListBoxItem>Item 1</ListBoxItem>
				<ListBoxItem>Item 2</ListBoxItem>
				<ListBoxItem>Item 3</ListBoxItem>
				<ListBoxItem>Item 4</ListBoxItem>
				<ListBoxItem>Item 5</ListBoxItem>
				<ListBoxItem>Item 1</ListBoxItem>
				<ListBoxItem>Item 2</ListBoxItem>
				<ListBoxItem>Item 3</ListBoxItem>
				<ListBoxItem>Item 4</ListBoxItem>
				<ListBoxItem>Item 5</ListBoxItem>
			</ListBox>
			<Rectangle Width="262" Height="184" Fill="Red" Canvas.Left="476" Canvas.Top="27" IsManipulationEnabled="True">
				<Rectangle.RenderTransform>
					<MatrixTransform/>
				</Rectangle.RenderTransform>
			</Rectangle>
			<Rectangle Canvas.Left="582" Canvas.Top="205" Fill="Green" Height="114" IsManipulationEnabled="True" Width="153">
				<Rectangle.RenderTransform>
					<MatrixTransform />
				</Rectangle.RenderTransform>
			</Rectangle>
			<Rectangle Canvas.Left="372" Canvas.Top="26" Fill="Yellow" Height="145" IsManipulationEnabled="True" Width="177">
				<Rectangle.RenderTransform>
					<MatrixTransform />
				</Rectangle.RenderTransform>
			</Rectangle>
			<Ellipse Width="184" Height="137" IsManipulationEnabled="True" Fill="Blue" Canvas.Left="370" Canvas.Top="208">
				<Ellipse.RenderTransform>
					<MatrixTransform />
				</Ellipse.RenderTransform>
			</Ellipse>
		</Canvas>
	</Grid>
</Window>
