<s:SurfaceWindow
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:s="http://schemas.microsoft.com/surface/2008"
    x:Class="GridMovil.SurfaceWindow1"
    Title="GridMovil"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Name="my_surfaceWindow" Width="1024" Height="768"
    >
  <s:SurfaceWindow.Resources>
    <ImageBrush x:Key="WindowBackground" Stretch="None" Opacity="0.6" ImageSource="pack://application:,,,/Resources/WindowBackground.jpg"/>
  </s:SurfaceWindow.Resources>

  <Grid Background="{StaticResource WindowBackground}" x:Name="gridMovil" Height="768" Width="1024" >
        <Label HorizontalAlignment="Right" Margin="0,27,223,0" VerticalAlignment="Top" Width="102" Height="27" Content="LabelgridMovil" x:Name="labelX"/>
        <Label x:Name="labelY" Width="102" Height="27" Content="LabelgridMovil" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,79,223,0"/>
        <Grid HorizontalAlignment="Left" Width="1" x:Name="grid1" Background="#3FFF0000" Margin="0,0,0,0" Height="1" VerticalAlignment="Top"/>
        <Grid VerticalAlignment="Bottom" Height="376.5" x:Name="grid2" Background="#3F24FF03" Margin="0,0,0,0.016" RenderTransformOrigin="0,0" Width="434.787" HorizontalAlignment="Left">
        	<Rectangle Fill="{x:Null}" Stroke="#FF000000" RenderTransformOrigin="0.986,0.967" x:Name="myrect_grid_auto" StrokeThickness="1" Margin="175.5,103.608,175.833,185.392" Width="Auto" Height="Auto" RadiusX="13.516" RadiusY="13.516">
        		<Rectangle.RenderTransform>
        			<TransformGroup>
        				<ScaleTransform ScaleX="1" ScaleY="-1"/>
        				<SkewTransform AngleX="0" AngleY="0"/>
        				<RotateTransform Angle="0"/>
        				<TranslateTransform X="0" Y="0"/>
        			</TransformGroup>
        		</Rectangle.RenderTransform>
        	</Rectangle>
        	<Rectangle Fill="#7E95E80D" Stroke="#FF000000" RenderTransformOrigin="0.986,0.967" x:Name="myrect_grid2_fixe" StrokeThickness="1" Height="45" RadiusX="13.516" RadiusY="13.516" HorizontalAlignment="Right" Margin="0,-25.5,54.333,0" VerticalAlignment="Top" Width="45">
        		<Rectangle.RenderTransform>
        			<TransformGroup>
        				<ScaleTransform ScaleX="1" ScaleY="-1"/>
        				<SkewTransform AngleX="0" AngleY="0"/>
        				<RotateTransform Angle="0"/>
        				<TranslateTransform X="0" Y="0"/>
        			</TransformGroup>
        		</Rectangle.RenderTransform>
        	</Rectangle>
        </Grid>
        <Grid HorizontalAlignment="Right" Width="1" x:Name="grid3" Background="#3F00BFFF" Margin="0,0,0,0" Height="1" VerticalAlignment="Bottom"/>
        <Grid HorizontalAlignment="Right" Width="1" x:Name="grid4" Background="#3FFF00FD" Height="1" VerticalAlignment="Top"/>
        <Rectangle HorizontalAlignment="Left" VerticalAlignment="Top" Width="0" Height="0" Fill="{x:Null}" Stroke="#FF000000" RenderTransformOrigin="0.986,0.967" x:Name="myrect" StrokeThickness="1"/>
        <s:ScatterView ContactDown="ScatterView_ContactDown" x:Name="my_scaterview" ContactChanged="my_scaterview_ContactChanged">
            <Ellipse d:LayoutOverrides="Width, Height" Width="55" Height="55" Fill="#FF101010" Stroke="#FF000000" x:Name="elipse" RenderTransformOrigin="0.5,0.5" MouseDown="elipse_MouseDown">
            	<Ellipse.RenderTransform>
            		<TransformGroup>
            			<ScaleTransform ScaleX="1" ScaleY="1"/>
            			<SkewTransform AngleX="0" AngleY="0"/>
            			<RotateTransform Angle="0"/>
            			<TranslateTransform X="0" Y="0"/>
            		</TransformGroup>
            	</Ellipse.RenderTransform>
            </Ellipse>
        </s:ScatterView>
  </Grid>
</s:SurfaceWindow>
