| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484 | <UserControl x:Class="P300_Themes.UserControls.test"             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"              xmlns:d="http://schemas.microsoft.com/expression/blend/2008"              xmlns:local="clr-namespace:P300_Themes.UserControls"             xmlns:converters="clr-namespace:P300_Themes.Converters"             xmlns:customControls="clr-namespace:P300_Themes.CustomControls"             xmlns:userControls="clr-namespace:P300_Themes.UserControls"             mc:Ignorable="d"              d:DesignHeight="450" d:DesignWidth="800">    <Grid>        <Viewbox x:Name="viewbox" Stretch="Fill">            <VisualStateManager.VisualStateGroups>                <VisualStateGroup Name="RobotXActions">                    <VisualStateGroup.Transitions>                        <VisualTransition To="Extend">                            <Storyboard FillBehavior="HoldEnd" SpeedRatio="18">                                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">                                    <LinearDoubleKeyFrame Value="90" KeyTime="0:0:0"/>                                    <LinearDoubleKeyFrame Value="0"  KeyTime="0:0:9"/>                                </DoubleAnimationUsingKeyFrames>                                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">                                    <LinearDoubleKeyFrame Value="-90" KeyTime="0:0:0"/>                                    <LinearDoubleKeyFrame Value="0"   KeyTime="0:0:9"/>                                </DoubleAnimationUsingKeyFrames>                                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2Act" Storyboard.TargetProperty="X">                                    <LinearDoubleKeyFrame Value="0" KeyTime="0:0:9"/>                                    <LinearDoubleKeyFrame Value="2.126" KeyTime="0:0:8"/>                                    <LinearDoubleKeyFrame Value="8.443" KeyTime="0:0:7"/>                                    <LinearDoubleKeyFrame Value="18.756" KeyTime="0:0:6"/>                                    <LinearDoubleKeyFrame Value="32.753" KeyTime="0:0:5"/>                                    <LinearDoubleKeyFrame Value="50.009" KeyTime="0:0:4"/>                                    <LinearDoubleKeyFrame Value="70" KeyTime="0:0:3"/>                                    <LinearDoubleKeyFrame Value="92.117" KeyTime="0:0:2"/>                                    <LinearDoubleKeyFrame Value="115.689" KeyTime="0:0:1"/>                                    <LinearDoubleKeyFrame Value="140" KeyTime="0:0:0"/>                                </DoubleAnimationUsingKeyFrames>                            </Storyboard>                        </VisualTransition>                        <VisualTransition To="Retract">                            <Storyboard FillBehavior="HoldEnd" SpeedRatio="18">                                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">                                    <LinearDoubleKeyFrame Value="0"  KeyTime="0:0:0"/>                                    <LinearDoubleKeyFrame Value="90" KeyTime="0:0:9"/>                                </DoubleAnimationUsingKeyFrames>                                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">                                    <LinearDoubleKeyFrame Value="0"   KeyTime="0:0:0"/>                                    <LinearDoubleKeyFrame Value="-90" KeyTime="0:0:9"/>                                </DoubleAnimationUsingKeyFrames>                                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2Act" Storyboard.TargetProperty="X">                                    <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>                                    <LinearDoubleKeyFrame Value="2.126" KeyTime="0:0:1"/>                                    <LinearDoubleKeyFrame Value="8.443" KeyTime="0:0:2"/>                                    <LinearDoubleKeyFrame Value="18.756" KeyTime="0:0:3"/>                                    <LinearDoubleKeyFrame Value="32.753" KeyTime="0:0:4"/>                                    <LinearDoubleKeyFrame Value="50.009" KeyTime="0:0:5"/>                                    <LinearDoubleKeyFrame Value="70" KeyTime="0:0:6"/>                                    <LinearDoubleKeyFrame Value="92.117" KeyTime="0:0:7"/>                                    <LinearDoubleKeyFrame Value="115.689" KeyTime="0:0:8"/>                                    <LinearDoubleKeyFrame Value="140" KeyTime="0:0:9"/>                                </DoubleAnimationUsingKeyFrames>                            </Storyboard>                        </VisualTransition>                    </VisualStateGroup.Transitions>                    <VisualState Name="X_Origin">                        <Storyboard FillBehavior="HoldEnd">                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">                                <LinearDoubleKeyFrame Value="90" KeyTime="0:0:0"/>                            </DoubleAnimationUsingKeyFrames>                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">                                <LinearDoubleKeyFrame Value="-90" KeyTime="0:0:0"/>                            </DoubleAnimationUsingKeyFrames>                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2Act" Storyboard.TargetProperty="X">                                <LinearDoubleKeyFrame Value="140" KeyTime="0:0:0"/>                            </DoubleAnimationUsingKeyFrames>                        </Storyboard>                    </VisualState>                    <VisualState Name="Extend">                        <Storyboard FillBehavior="HoldEnd">                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">                                <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>                            </DoubleAnimationUsingKeyFrames>                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">                                <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>                            </DoubleAnimationUsingKeyFrames>                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2Act" Storyboard.TargetProperty="X">                                <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>                            </DoubleAnimationUsingKeyFrames>                        </Storyboard>                    </VisualState>                    <VisualState Name="Retract">                        <Storyboard FillBehavior="HoldEnd">                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">                                <LinearDoubleKeyFrame Value="90" KeyTime="0:0:0"/>                            </DoubleAnimationUsingKeyFrames>                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">                                <LinearDoubleKeyFrame Value="-90" KeyTime="0:0:0"/>                            </DoubleAnimationUsingKeyFrames>                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2Act" Storyboard.TargetProperty="X">                                <LinearDoubleKeyFrame Value="140" KeyTime="0:0:0"/>                            </DoubleAnimationUsingKeyFrames>                        </Storyboard>                    </VisualState>                </VisualStateGroup>                <VisualStateGroup Name="RobotTActions">                    <VisualStateGroup.Transitions>                        <VisualTransition To="T_Origin">                            <Storyboard FillBehavior="HoldEnd">                                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                    <LinearDoubleKeyFrame Value="90" KeyTime="0:0:0.5"/>                                </DoubleAnimationUsingKeyFrames>                            </Storyboard>                        </VisualTransition>                        <VisualTransition To="Aligner1">                            <Storyboard FillBehavior="HoldEnd">                                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                    <LinearDoubleKeyFrame Value="180" KeyTime="0:0:0.5"/>                                </DoubleAnimationUsingKeyFrames>                            </Storyboard>                        </VisualTransition>                        <VisualTransition To="LP1">                            <Storyboard FillBehavior="HoldEnd">                                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                    <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0.5"/>                                </DoubleAnimationUsingKeyFrames>                            </Storyboard>                        </VisualTransition>                        <VisualTransition To="LP2">                            <Storyboard FillBehavior="HoldEnd">                                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                    <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0.5"/>                                </DoubleAnimationUsingKeyFrames>                            </Storyboard>                        </VisualTransition>                        <VisualTransition To="LP3">                            <Storyboard FillBehavior="HoldEnd">                                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                    <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0.5"/>                                </DoubleAnimationUsingKeyFrames>                            </Storyboard>                        </VisualTransition>                        <VisualTransition To="Dummy1">                            <Storyboard FillBehavior="HoldEnd">                                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                    <LinearDoubleKeyFrame Value="60" KeyTime="0:0:0.5"/>                                </DoubleAnimationUsingKeyFrames>                            </Storyboard>                        </VisualTransition>                        <VisualTransition To="Dummy2">                            <Storyboard FillBehavior="HoldEnd">                                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                    <LinearDoubleKeyFrame Value="60" KeyTime="0:0:0.5"/>                                </DoubleAnimationUsingKeyFrames>                            </Storyboard>                        </VisualTransition>                        <VisualTransition To="SRD1">                            <Storyboard FillBehavior="HoldEnd">                                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                    <LinearDoubleKeyFrame Value="125" KeyTime="0:0:0.5"/>                                </DoubleAnimationUsingKeyFrames>                            </Storyboard>                        </VisualTransition>                        <VisualTransition To="SRD2">                            <Storyboard FillBehavior="HoldEnd">                                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                    <LinearDoubleKeyFrame Value="125" KeyTime="0:0:0.5"/>                                </DoubleAnimationUsingKeyFrames>                            </Storyboard>                        </VisualTransition>                        <VisualTransition To="RightLocation">                            <Storyboard FillBehavior="HoldEnd">                                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRightLeftAct" Storyboard.TargetProperty="X">                                    <LinearDoubleKeyFrame Value="80" KeyTime="0:0:0.5"/>                                </DoubleAnimationUsingKeyFrames>                            </Storyboard>                        </VisualTransition>                        <VisualTransition To="LeftLocation">                            <Storyboard FillBehavior="HoldEnd">                                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRightLeftAct" Storyboard.TargetProperty="X">                                    <LinearDoubleKeyFrame Value="-80" KeyTime="0:0:0.5"/>                                </DoubleAnimationUsingKeyFrames>                            </Storyboard>                        </VisualTransition>                        <VisualTransition To="PMD">                            <Storyboard FillBehavior="HoldEnd">                                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                    <LinearDoubleKeyFrame Value="180" KeyTime="0:0:0.5"/>                                </DoubleAnimationUsingKeyFrames>                            </Storyboard>                        </VisualTransition>                        <VisualTransition To="PUF1">                            <Storyboard FillBehavior="HoldEnd">                                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                    <LinearDoubleKeyFrame Value="180" KeyTime="0:0:0.5"/>                                </DoubleAnimationUsingKeyFrames>                            </Storyboard>                        </VisualTransition>                        <VisualTransition To="PUF2">                            <Storyboard FillBehavior="HoldEnd">                                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                    <LinearDoubleKeyFrame Value="180" KeyTime="0:0:0.5"/>                                </DoubleAnimationUsingKeyFrames>                            </Storyboard>                        </VisualTransition>                    </VisualStateGroup.Transitions>                    <VisualState Name="T_Origin">                        <Storyboard FillBehavior="HoldEnd">                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                <LinearDoubleKeyFrame Value="90" KeyTime="0:0:0"/>                            </DoubleAnimationUsingKeyFrames>                        </Storyboard>                    </VisualState>                    <VisualState Name="Aligner1">                        <Storyboard FillBehavior="HoldEnd">                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                <LinearDoubleKeyFrame Value="180" KeyTime="0:0:0"/>                            </DoubleAnimationUsingKeyFrames>                        </Storyboard>                    </VisualState>                    <VisualState Name="LP1">                        <Storyboard FillBehavior="HoldEnd">                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>                            </DoubleAnimationUsingKeyFrames>                        </Storyboard>                    </VisualState>                    <VisualState Name="LP2">                        <Storyboard FillBehavior="HoldEnd">                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>                            </DoubleAnimationUsingKeyFrames>                        </Storyboard>                    </VisualState>                    <VisualState Name="LP3">                        <Storyboard FillBehavior="HoldEnd">                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>                            </DoubleAnimationUsingKeyFrames>                        </Storyboard>                    </VisualState>                    <VisualState Name="Dummy1">                        <Storyboard FillBehavior="HoldEnd">                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                <LinearDoubleKeyFrame Value="60" KeyTime="0:0:0"/>                            </DoubleAnimationUsingKeyFrames>                        </Storyboard>                    </VisualState>                    <VisualState Name="Dummy2">                        <Storyboard FillBehavior="HoldEnd">                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                <LinearDoubleKeyFrame Value="60" KeyTime="0:0:0"/>                            </DoubleAnimationUsingKeyFrames>                        </Storyboard>                    </VisualState>                    <VisualState Name="SRD1">                        <Storyboard FillBehavior="HoldEnd">                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                <LinearDoubleKeyFrame Value="125" KeyTime="0:0:0"/>                            </DoubleAnimationUsingKeyFrames>                        </Storyboard>                    </VisualState>                    <VisualState Name="SRD2">                        <Storyboard FillBehavior="HoldEnd">                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                <LinearDoubleKeyFrame Value="125" KeyTime="0:0:0"/>                            </DoubleAnimationUsingKeyFrames>                        </Storyboard>                    </VisualState>                    <VisualState Name="RightLocation">                        <Storyboard FillBehavior="HoldEnd">                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRightLeftAct" Storyboard.TargetProperty="X">                                <LinearDoubleKeyFrame Value="80" KeyTime="0:0:0"/>                            </DoubleAnimationUsingKeyFrames>                        </Storyboard>                    </VisualState>                    <VisualState Name="LeftLocation">                        <Storyboard FillBehavior="HoldEnd">                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRightLeftAct" Storyboard.TargetProperty="X">                                <LinearDoubleKeyFrame Value="-80" KeyTime="0:0:0"/>                            </DoubleAnimationUsingKeyFrames>                        </Storyboard>                    </VisualState>                    <VisualState Name="PMD">                        <Storyboard FillBehavior="HoldEnd">                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                <LinearDoubleKeyFrame Value="180" KeyTime="0:0:0"/>                            </DoubleAnimationUsingKeyFrames>                        </Storyboard>                    </VisualState>                    <VisualState Name="PUF1">                        <Storyboard FillBehavior="HoldEnd">                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                <LinearDoubleKeyFrame Value="180" KeyTime="0:0:0"/>                            </DoubleAnimationUsingKeyFrames>                        </Storyboard>                    </VisualState>                    <VisualState Name="PUF2">                        <Storyboard FillBehavior="HoldEnd">                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">                                <LinearDoubleKeyFrame Value="180" KeyTime="0:0:0"/>                            </DoubleAnimationUsingKeyFrames>                        </Storyboard>                    </VisualState>                </VisualStateGroup>            </VisualStateManager.VisualStateGroups>            <Canvas Width="200" Height="300" >                <Canvas.RenderTransform>                    <TransformGroup>                        <TranslateTransform  x:Name="robotRightLeftAct"></TranslateTransform>                    </TransformGroup>                </Canvas.RenderTransform>                <Canvas x:Name="robot" Width="100" Height="150" RenderTransformOrigin="1 1" >                    <Canvas.RenderTransform>                        <TransformGroup>                            <!--<RotateTransform  x:Name="robotRotateAct"/>-->                            <RotateTransform Angle="0"></RotateTransform>                        </TransformGroup>                    </Canvas.RenderTransform>                    <Canvas x:Name="armXT1" Width="200" Height="100"  Canvas.Top="100" RenderTransformOrigin="0.5 0.5">                        <Canvas.RenderTransform>                            <!--<RotateTransform  x:Name="armXT1RotateAct"/>120,360-->                            <RotateTransform Angle="360"></RotateTransform>                        </Canvas.RenderTransform>                        <Canvas x:Name="armXT1Arm" Width="70" Height="30"  Canvas.Left="30" Canvas.Top="35" RenderTransformOrigin="1 0.5" ToolTip="后臂">                            <Path  Stroke="{StaticResource robotBorderBrush}" Fill="{StaticResource RobotBrush}" StrokeThickness="1" StrokeEndLineCap="Round" >                                <Path.Data>                                    <PathGeometry>                                        <PathFigure StartPoint="0 5" IsClosed="True">                                            <LineSegment Point="51 0"/>                                            <LineSegment Point="51 30" IsStroked="False"/>                                            <LineSegment Point="0 25"/>                                            <LineSegment Point="0 5" IsStroked="False"/>                                        </PathFigure>                                    </PathGeometry>                                </Path.Data>                            </Path>                            <Path Stroke="{StaticResource robotBorderBrush}" StrokeThickness="1" Canvas.Left="0"                                                 StrokeEndLineCap="Round" StrokeStartLineCap="Round" Fill="{StaticResource RobotBrush}"                                                Data="M 0,5 A 10,10 0 0 0 0,25">                            </Path>                        </Canvas>                        <Canvas x:Name="armXT1Center"  Width="40" Height="40" Canvas.Left="80" Canvas.Top="30" ToolTip="底座">                            <Path  Stroke="{StaticResource robotBorderBrush}"  Fill="{StaticResource RobotBrush}" StrokeThickness="1" StrokeEndLineCap="Round"  >                                <Path.Data>                                    <PathGeometry>                                        <PathFigure StartPoint="0 6" IsClosed="True">                                            <LineSegment Point="6 0"/>                                            <LineSegment Point="34 0"/>                                            <LineSegment Point="40 6"/>                                            <LineSegment Point="40 34"/>                                            <LineSegment Point="34 40"/>                                            <LineSegment Point="6 40"/>                                            <LineSegment Point="0 34"/>                                        </PathFigure>                                    </PathGeometry>                                </Path.Data>                            </Path>                            <!--<Ellipse Width="40" Height="40"  Stroke="{StaticResource robotBorderBrush}"  Fill="{StaticResource RobotBrush}" StrokeThickness="1" StrokeEndLineCap="Round"></Ellipse>-->                        </Canvas>                    </Canvas>                    <Canvas x:Name="armXT2" Width="120" Height="40" Canvas.Left="-90" Canvas.Top="130">                        <Canvas.RenderTransform>                            <TransformGroup>                                <!--<TranslateTransform x:Name="armXT2Act"></TranslateTransform>-->                                <TranslateTransform X="0" Y="0"></TranslateTransform>                            </TransformGroup>                        </Canvas.RenderTransform>                        <Canvas x:Name="armXT2Arm" Width="70" Height="20"  Canvas.Left="50" Canvas.Top="10" RenderTransformOrigin="0 0.5" Background="#6495ED" ToolTip="前臂">                            <Canvas.RenderTransform>                                <!--<RotateTransform x:Name="armXT2ArmRotateAct"/>-90-->                                <RotateTransform Angle="0"></RotateTransform>                            </Canvas.RenderTransform>                            <Image></Image>                            <Path Stroke="{StaticResource robotBorderBrush}" StrokeThickness="1" Canvas.Left="70"                                         StrokeEndLineCap="Round" StrokeStartLineCap="Round" Fill="WhiteSmoke"                                        Data="M 0,0 A 10,10 0 0 1 0,20">                            </Path>                            <Path Stroke="{StaticResource robotBorderBrush}" StrokeThickness="1" Canvas.Left="0"                                         StrokeEndLineCap="Round" StrokeStartLineCap="Round" Fill="{StaticResource RobotBrush}"                                        Data="M 0,0 A 10,10 0 0 0 0,20">                            </Path>                            <Path  Stroke="{StaticResource robotBorderBrush}" Fill="{StaticResource RobotBrush}" StrokeThickness="1" StrokeEndLineCap="Round" >                                <Path.Data>                                    <PathGeometry>                                        <PathFigure StartPoint="70 0" >                                            <LineSegment Point="0 0" />                                            <LineSegment Point="0 20" IsStroked="False"/>                                            <LineSegment Point="70 20"/>                                            <LineSegment Point="70 0" IsStroked="False"/>                                        </PathFigure>                                    </PathGeometry>                                </Path.Data>                            </Path>                            <Ellipse Width="12" Height="12" Stroke="#030303" StrokeThickness="2"  Fill="Transparent"                                              Canvas.Top="4" Canvas.Left="62"/>                        </Canvas>                        <Canvas x:Name="armGripper" Height="40" Width="50"  Canvas.Left="0" Canvas.Top="0">                            <StackPanel RenderTransformOrigin="0.5,0.5" Canvas.Top="-18">                                <StackPanel.RenderTransform>                                    <TransformGroup>                                        <ScaleTransform/>                                        <SkewTransform/>                                        <RotateTransform Angle="-90"/>                                        <TranslateTransform/>                                    </TransformGroup>                                </StackPanel.RenderTransform>                                <Image Width="40" Source="pack://application:,,,/P300_Themes;component/Themes/Images/parts/atmrobot/hand2.png"></Image>                            </StackPanel>                            <!--<Path   Stroke="Black"    StrokeThickness="5"  StrokeEndLineCap="Round">                                <Path.Data>                                    <PathGeometry>                                        <PathFigure StartPoint="30 14" >                                            <LineSegment Point="10 14" />                                            <LineSegment Point="4 8" />                                            <LineSegment Point="-6 8" />                                        </PathFigure>                                        <PathFigure StartPoint="30 26" >                                            <LineSegment Point="10 26" />                                            <LineSegment Point="4 32" />                                            <LineSegment Point="-6 32" />                                        </PathFigure>                                    </PathGeometry>                                </Path.Data>                            </Path>                            <Path  Stroke="{StaticResource robotBorderBrush}" Fill="{StaticResource RobotBrush}"  StrokeThickness="1" StrokeEndLineCap="Round" >                                <Path.Data>                                    <PathGeometry>                                        <PathFigure StartPoint="40 0" >                                            <LineSegment Point="60 0" />                                            <LineSegment Point="60 40" />                                            <LineSegment Point="40 40" />                                            <LineSegment Point="30 30" />                                            <LineSegment Point="30 10" />                                            <LineSegment Point="40 0" />                                        </PathFigure>                                    </PathGeometry>                                </Path.Data>                            </Path>                            <Path  Stroke="{StaticResource robotBorderBrush}" Fill="{StaticResource RobotBrush}"  StrokeThickness="1" StrokeEndLineCap="Round" >                                <Path.Data>                                    <PathGeometry>                                        <PathFigure StartPoint="30 10" >                                            <LineSegment Point="20 10" />                                            <LineSegment Point="20 30" />                                            <LineSegment Point="30 30" />                                            <LineSegment Point="30 10" IsStroked="False"/>                                        </PathFigure>                                    </PathGeometry>                                </Path.Data>                            </Path>-->                            <Ellipse Width="12" Height="12" Stroke="AliceBlue" StrokeThickness="2"  Fill="Transparent"                                              Canvas.Top="14" Canvas.Left="44"/>                            <Viewbox Canvas.Left="-64" Canvas.Top="-21" Width="85" Height="85">                                <userControls:WaferCtrl WaferData="{Binding RobotWafer,RelativeSource={RelativeSource TemplatedParent}}"/>                            </Viewbox>                        </Canvas>                    </Canvas>                </Canvas>            </Canvas>        </Viewbox>    </Grid></UserControl>
 |