<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:converters="clr-namespace:Venus_Themes.Converters" xmlns:customControls="clr-namespace:Venus_Themes.CustomControls" xmlns:userControls="clr-namespace:Venus_Themes.UserControls" > <converters:BoolToDirection x:Key="boolToDirection"/> <converters:BoolToBool x:Key="BoolToBool"/> <converters:IsLastItemConverter x:Key="IsLastItemConverter"/> <converters:IsProgressedConverter x:Key="IsProgressedConverter"/> <SolidColorBrush x:Key="robotBorderBrush" Color="#030303" /> <LinearGradientBrush x:Key="RobotBrush" StartPoint="0,0" EndPoint="1,0"> <LinearGradientBrush.GradientStops> <GradientStop Color="Silver" Offset="0"/> <GradientStop Color="White" Offset="0.9"/> <GradientStop Color="Silver" Offset="1"/> </LinearGradientBrush.GradientStops> </LinearGradientBrush> <LinearGradientBrush x:Key="RobotBrush2" StartPoint="0,0" EndPoint="1,0"> <LinearGradientBrush.GradientStops> <GradientStop Color="Gray" Offset="0"/> <GradientStop Color="White" Offset="0.9"/> <GradientStop Color="Gray" Offset="1"/> </LinearGradientBrush.GradientStops> </LinearGradientBrush> <Style TargetType="{x:Type customControls:WaferRobotControl}" > <!--<Setter Property="Cursor" Value="Hand" />--> <Setter Property="Width" Value="200"/> <Setter Property="Height" Value="250"/> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type customControls:WaferRobotControl}"> <Viewbox x:Name="viewbox" Stretch="Fill"> <VisualStateManager.VisualStateGroups> <VisualStateGroup Name="RobotXActions"> <VisualStateGroup.Transitions> <VisualTransition To="Extend"> <Storyboard FillBehavior="HoldEnd" Timeline.SpeedRatio="9"> <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="9"> <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:1"/> </DoubleAnimationUsingKeyFrames> </Storyboard> </VisualTransition> <VisualTransition To="PMA"> <Storyboard FillBehavior="HoldEnd"> <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle"> <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0.5"/> </DoubleAnimationUsingKeyFrames> </Storyboard> </VisualTransition> <VisualTransition To="PMB"> <Storyboard FillBehavior="HoldEnd"> <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle"> <LinearDoubleKeyFrame Value="60" KeyTime="0:0:0.5"/> </DoubleAnimationUsingKeyFrames> </Storyboard> </VisualTransition> <VisualTransition To="PMC"> <Storyboard FillBehavior="HoldEnd"> <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle"> <LinearDoubleKeyFrame Value="120" 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:1"/> </DoubleAnimationUsingKeyFrames> </Storyboard> </VisualTransition> <VisualTransition To="LLA"> <Storyboard FillBehavior="HoldEnd"> <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle"> <LinearDoubleKeyFrame Value="-65" KeyTime="0:0:0.5"/> </DoubleAnimationUsingKeyFrames> </Storyboard> </VisualTransition> <VisualTransition To="LLB"> <Storyboard FillBehavior="HoldEnd"> <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle"> <LinearDoubleKeyFrame Value="-115" 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="PMA"> <Storyboard FillBehavior="HoldEnd"> <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle"> <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/> </DoubleAnimationUsingKeyFrames> </Storyboard> </VisualState> <VisualState Name="PMB"> <Storyboard FillBehavior="HoldEnd"> <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle"> <LinearDoubleKeyFrame Value="60" KeyTime="0:0:0"/> </DoubleAnimationUsingKeyFrames> </Storyboard> </VisualState> <VisualState Name="PMC"> <Storyboard FillBehavior="HoldEnd"> <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle"> <LinearDoubleKeyFrame Value="120" 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="LLA"> <Storyboard FillBehavior="HoldEnd"> <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle"> <LinearDoubleKeyFrame Value="-65" KeyTime="0:0:0"/> </DoubleAnimationUsingKeyFrames> </Storyboard> </VisualState> <VisualState Name="LLB"> <Storyboard FillBehavior="HoldEnd"> <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle"> <LinearDoubleKeyFrame Value="-115" KeyTime="0:0:0"/> </DoubleAnimationUsingKeyFrames> </Storyboard> </VisualState> </VisualStateGroup> </VisualStateManager.VisualStateGroups> <Canvas Width="200" Height="300" > <Canvas x:Name="robot" Width="100" Height="150" RenderTransformOrigin="1 1" > <Canvas.RenderTransform> <TransformGroup> <RotateTransform x:Name="robotRotateAct"/> <!--<TranslateTransform x:Name="robotUpDownAct"></TranslateTransform>--> </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"/> </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> </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"/> </Canvas.RenderTransform> <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"> <!--<Path Data="M 30 10 30 30 -20 25 -20 15 30 10z" Stroke="Black" Fill="{StaticResource RobotBrush2}" StrokeThickness="1" StrokeEndLineCap="Round">--> <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> <!--<PathFigure StartPoint="30 10" > <LineSegment Point="30 30" /> <LineSegment Point="-20 25" /> <LineSegment Point="-20 15" /> <LineSegment Point="30 10" /> </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="#030303" 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}}" IsEnabled="False"/> </Viewbox> </Canvas> </Canvas> </Canvas> </Canvas> </Viewbox> </ControlTemplate> </Setter.Value> </Setter> </Style> <Style TargetType="{x:Type customControls:GuangChuanRobotControl}" > <Setter Property="Cursor" Value="Hand" /> <Setter Property="Width" Value="200"/> <Setter Property="Height" Value="250"/> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type customControls:GuangChuanRobotControl}"> <Viewbox x:Name="viewbox" Stretch="Fill"> <VisualStateManager.VisualStateGroups> <VisualStateGroup Name="RobotXActions"> <VisualStateGroup.Transitions> <VisualTransition To="Extend"> <Storyboard FillBehavior="HoldEnd" SpeedRatio="9"> <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="9"> <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="0" KeyTime="0:0:0.5"/> </DoubleAnimationUsingKeyFrames> </Storyboard> </VisualTransition> <VisualTransition To="LP1"> <Storyboard FillBehavior="HoldEnd"> <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle"> <LinearDoubleKeyFrame Value="-90" KeyTime="0:0:0.5"/> </DoubleAnimationUsingKeyFrames> </Storyboard> </VisualTransition> <VisualTransition To="LP2"> <Storyboard FillBehavior="HoldEnd"> <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle"> <LinearDoubleKeyFrame Value="-90" KeyTime="0:0:0.5"/> </DoubleAnimationUsingKeyFrames> </Storyboard> </VisualTransition> <VisualTransition To="LP3"> <Storyboard FillBehavior="HoldEnd"> <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle"> <LinearDoubleKeyFrame Value="-90" KeyTime="0:0:0.5"/> </DoubleAnimationUsingKeyFrames> </Storyboard> </VisualTransition> <VisualTransition To="LLA"> <Storyboard FillBehavior="HoldEnd"> <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle"> <LinearDoubleKeyFrame Value="60" KeyTime="0:0:0.5"/> </DoubleAnimationUsingKeyFrames> </Storyboard> </VisualTransition> <VisualTransition To="LLB"> <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> </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="0" KeyTime="0:0:0"/> </DoubleAnimationUsingKeyFrames> </Storyboard> </VisualState> <VisualState Name="LP1"> <Storyboard FillBehavior="HoldEnd"> <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle"> <LinearDoubleKeyFrame Value="-90" KeyTime="0:0:0"/> </DoubleAnimationUsingKeyFrames> </Storyboard> </VisualState> <VisualState Name="LP2"> <Storyboard FillBehavior="HoldEnd"> <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle"> <LinearDoubleKeyFrame Value="-90" KeyTime="0:0:0"/> </DoubleAnimationUsingKeyFrames> </Storyboard> </VisualState> <VisualState Name="LP3"> <Storyboard FillBehavior="HoldEnd"> <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle"> <LinearDoubleKeyFrame Value="-90" KeyTime="0:0:0"/> </DoubleAnimationUsingKeyFrames> </Storyboard> </VisualState> <VisualState Name="LLA"> <Storyboard FillBehavior="HoldEnd"> <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle"> <LinearDoubleKeyFrame Value="60" KeyTime="0:0:0"/> </DoubleAnimationUsingKeyFrames> </Storyboard> </VisualState> <VisualState Name="LLB"> <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> </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"/> </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"/> </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> </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"/> </Canvas.RenderTransform> <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"> <!--<Path Data="M 30 10 30 30 -20 25 -20 15 30 10z" Stroke="Black" Fill="{StaticResource RobotBrush2}" StrokeThickness="1" StrokeEndLineCap="Round">--> <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> <!--<PathFigure StartPoint="30 10" > <LineSegment Point="30 30" /> <LineSegment Point="-20 25" /> <LineSegment Point="-20 15" /> <LineSegment Point="30 10" /> </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="#030303" 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> </ControlTemplate> </Setter.Value> </Setter> </Style> <Style TargetType="{x:Type customControls:CommonValveControl}"> <Setter Property="Focusable" Value="False"/> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type customControls:CommonValveControl}"> <Viewbox Stretch="Fill"> <Grid x:Name="mainBody"> <Canvas Width="40" Height="40"> <Ellipse Height="40" Width="40" Fill="Gray"/> <Ellipse x:Name="InnerEllipse" Height="30" Width="30" Canvas.Left="5" Canvas.Top="5" /> <Rectangle x:Name="Rectangle" Fill="White" RadiusX="2" RadiusY="2"/> </Canvas> </Grid> </Viewbox> <ControlTemplate.Triggers> <Trigger Property="IsCanEdit" Value="True"> <Setter Property="Cursor" Value="Hand" /> </Trigger> <Trigger Property="Status" Value="false"> <Setter TargetName="InnerEllipse" Property="Fill" Value="Silver"/> </Trigger> <Trigger Property="Status" Value="true"> <Setter TargetName="InnerEllipse" Property="Fill" Value="Green"/> </Trigger> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="ValveOrientation" Value="Horizontal"/> <Condition Property="Status" Value="false"/> </MultiTrigger.Conditions> <Setter TargetName="Rectangle" Property="Width" Value="6"/> <Setter TargetName="Rectangle" Property="Height" Value="30"/> <Setter TargetName="Rectangle" Property="Canvas.Left" Value="17"/> <Setter TargetName="Rectangle" Property="Canvas.Top" Value="5"/> </MultiTrigger> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="ValveOrientation" Value="Horizontal"/> <Condition Property="Status" Value="true"/> </MultiTrigger.Conditions> <Setter TargetName="Rectangle" Property="Width" Value="30"/> <Setter TargetName="Rectangle" Property="Height" Value="6"/> <Setter TargetName="Rectangle" Property="Canvas.Left" Value="5"/> <Setter TargetName="Rectangle" Property="Canvas.Top" Value="17"/> </MultiTrigger> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="ValveOrientation" Value="Vertical"/> <Condition Property="Status" Value="false"/> </MultiTrigger.Conditions> <Setter TargetName="Rectangle" Property="Width" Value="30"/> <Setter TargetName="Rectangle" Property="Height" Value="6"/> <Setter TargetName="Rectangle" Property="Canvas.Left" Value="5"/> <Setter TargetName="Rectangle" Property="Canvas.Top" Value="17"/> </MultiTrigger> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="ValveOrientation" Value="Vertical"/> <Condition Property="Status" Value="true"/> </MultiTrigger.Conditions> <Setter TargetName="Rectangle" Property="Width" Value="6"/> <Setter TargetName="Rectangle" Property="Height" Value="30"/> <Setter TargetName="Rectangle" Property="Canvas.Left" Value="17"/> <Setter TargetName="Rectangle" Property="Canvas.Top" Value="5"/> </MultiTrigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> <Style x:Key="textBlockStyle" TargetType="TextBlock"> <!--字体渐变--> <Setter Property="Foreground"> <Setter.Value> <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,0.5"> <GradientStop Color="#FFFFE787" Offset="0.0" /> <GradientStop Color="#FFFFE787" Offset="0.25" /> <GradientStop Color="White" Offset="0.5" /> </LinearGradientBrush> </Setter.Value> </Setter> <!--字体阴影--> <Setter Property="Effect"> <Setter.Value> <DropShadowEffect Color="Black" Direction="120" ShadowDepth="1" Opacity="0.7" /> </Setter.Value> </Setter> <Setter Property="FontFamily" Value="Microsoft YaHei"/> <Setter Property="FontWeight" Value="Bold"/> </Style> <Style x:Key="TopLable_LeftTop" TargetType="{x:Type Label}"> <Setter Property="FontFamily" Value="Arial"/> <Setter Property="FontSize" Value="16"/> <Setter Property="Foreground" Value="{DynamicResource FG_White}"/> <Setter Property="BorderBrush" Value="{DynamicResource TopFrame_TableBD_Highlight}"/> <Setter Property="BorderThickness" Value="1"/> <Setter Property="Background" Value="{DynamicResource TopFrame_TableBG}"/> <!--<Setter Property="Margin" Value="1,1,0,1"/>--> <Setter Property="Padding" Value="5,2"/> <Setter Property="Border.CornerRadius" Value="6,0,0,6"/> <Setter Property="SnapsToDevicePixels" Value="True"/> <Setter Property="HorizontalAlignment" Value="Stretch"/> <Setter Property="VerticalAlignment" Value="Stretch"/> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="Label"> <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="{TemplateBinding Border.CornerRadius}" Margin="{TemplateBinding Margin}" Padding="{TemplateBinding Padding}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"> <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/> </Border> </ControlTemplate> </Setter.Value> </Setter> </Style> <Style x:Key="TextBox_Top" TargetType="{x:Type TextBox}"> <Setter Property="SnapsToDevicePixels" Value="True"/> <Setter Property="FontFamily" Value="Arial" /> <Setter Property="FontSize" Value="24" /> <!--<Setter Property="Margin" Value="0,2,2,2"/>--> <Setter Property="BorderThickness" Value="0,1,1,1"/> <Setter Property="Background" Value="{DynamicResource TextBox_Top_BG}" /> <Setter Property="Foreground" Value="{DynamicResource Foreground_Black}" /> <Setter Property="BorderBrush" Value="{DynamicResource TextBox_Top_Highlight_Right}"/> <Setter Property="Border.CornerRadius" Value="0,6,6,0"/> <Setter Property="HorizontalAlignment" Value="Stretch"/> <Setter Property="VerticalAlignment" Value="Stretch"/> <Setter Property="FocusVisualStyle" Value="{x:Null}"/> <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst"/> <Setter Property="Stylus.IsFlicksEnabled" Value="False"/> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type TextBox}"> <Grid> <Border x:Name="TextBox_Bg" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" CornerRadius="{TemplateBinding Border.CornerRadius}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}"> <ScrollViewer x:Name="PART_ContentHost" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Margin="5,1" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"/> </Border> </Grid> <ControlTemplate.Triggers> <Trigger Property="IsEnabled" Value="false"> <Setter Property="Background" TargetName="TextBox_Bg" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> <Geometry x:Key="Icon_PMA">M793.1 958H229.4C155 958 94.5 897.5 94.5 823.2V557.6c0-74.4 60.5-134.8 134.9-134.8h563.8c74.4 0 134.9 60.5 134.9 134.8v265.6c-0.1 74.3-60.6 134.8-135 134.8zM229.4 512.6c-24.8 0-45 20.2-45 45v265.6c0 24.8 20.2 45 45 45h563.8c24.8 0 45-20.2 45-45V557.6c0-24.8-20.2-45-45-45H229.4z M773.3 512.6H249.2c-24.8 0-44.9-20.1-44.9-44.9V194.3c0-74.2 60.4-134.6 134.6-134.6h344.7c74.2 0 134.6 60.4 134.6 134.6v273.4c0 24.8-20.1 44.9-44.9 44.9z m-479.2-89.8h434.3V194.3c0-24.7-20.1-44.8-44.8-44.8H338.9c-24.7 0-44.8 20.1-44.8 44.8v228.5z M408.9 354.7c-24.8 0-44.9-20.1-44.9-44.9v-48.9c0-24.8 20.1-44.9 44.9-44.9 24.8 0 44.9 20.1 44.9 44.9v48.9c0 24.8-20.1 44.9-44.9 44.9zM612.7 354.7c-24.8 0-44.9-20.1-44.9-44.9v-48.9c0-24.8 20.1-44.9 44.9-44.9s44.9 20.1 44.9 44.9v48.9c0 24.8-20.1 44.9-44.9 44.9z</Geometry> <Geometry x:Key="Icon_PMB">M793.1 958H229.4C155 958 94.5 897.5 94.5 823.2V557.6c0-74.4 60.5-134.8 134.9-134.8h563.8c74.4 0 134.9 60.5 134.9 134.8v265.6c-0.1 74.3-60.6 134.8-135 134.8zM229.4 512.6c-24.8 0-45 20.2-45 45v265.6c0 24.8 20.2 45 45 45h563.8c24.8 0 45-20.2 45-45V557.6c0-24.8-20.2-45-45-45H229.4z M773.3 512.6H249.2c-24.8 0-44.9-20.1-44.9-44.9V194.3c0-74.2 60.4-134.6 134.6-134.6h344.7c74.2 0 134.6 60.4 134.6 134.6v273.4c0 24.8-20.1 44.9-44.9 44.9z m-479.2-89.8h434.3V194.3c0-24.7-20.1-44.8-44.8-44.8H338.9c-24.7 0-44.8 20.1-44.8 44.8v228.5z M408.9 354.7c-24.8 0-44.9-20.1-44.9-44.9v-48.9c0-24.8 20.1-44.9 44.9-44.9 24.8 0 44.9 20.1 44.9 44.9v48.9c0 24.8-20.1 44.9-44.9 44.9zM612.7 354.7c-24.8 0-44.9-20.1-44.9-44.9v-48.9c0-24.8 20.1-44.9 44.9-44.9s44.9 20.1 44.9 44.9v48.9c0 24.8-20.1 44.9-44.9 44.9z</Geometry> <Geometry x:Key="Icon_PMC">M793.1 958H229.4C155 958 94.5 897.5 94.5 823.2V557.6c0-74.4 60.5-134.8 134.9-134.8h563.8c74.4 0 134.9 60.5 134.9 134.8v265.6c-0.1 74.3-60.6 134.8-135 134.8zM229.4 512.6c-24.8 0-45 20.2-45 45v265.6c0 24.8 20.2 45 45 45h563.8c24.8 0 45-20.2 45-45V557.6c0-24.8-20.2-45-45-45H229.4z M773.3 512.6H249.2c-24.8 0-44.9-20.1-44.9-44.9V194.3c0-74.2 60.4-134.6 134.6-134.6h344.7c74.2 0 134.6 60.4 134.6 134.6v273.4c0 24.8-20.1 44.9-44.9 44.9z m-479.2-89.8h434.3V194.3c0-24.7-20.1-44.8-44.8-44.8H338.9c-24.7 0-44.8 20.1-44.8 44.8v228.5z M408.9 354.7c-24.8 0-44.9-20.1-44.9-44.9v-48.9c0-24.8 20.1-44.9 44.9-44.9 24.8 0 44.9 20.1 44.9 44.9v48.9c0 24.8-20.1 44.9-44.9 44.9zM612.7 354.7c-24.8 0-44.9-20.1-44.9-44.9v-48.9c0-24.8 20.1-44.9 44.9-44.9s44.9 20.1 44.9 44.9v48.9c0 24.8-20.1 44.9-44.9 44.9z</Geometry> <Geometry x:Key="Icon_PMD">M793.1 958H229.4C155 958 94.5 897.5 94.5 823.2V557.6c0-74.4 60.5-134.8 134.9-134.8h563.8c74.4 0 134.9 60.5 134.9 134.8v265.6c-0.1 74.3-60.6 134.8-135 134.8zM229.4 512.6c-24.8 0-45 20.2-45 45v265.6c0 24.8 20.2 45 45 45h563.8c24.8 0 45-20.2 45-45V557.6c0-24.8-20.2-45-45-45H229.4z M773.3 512.6H249.2c-24.8 0-44.9-20.1-44.9-44.9V194.3c0-74.2 60.4-134.6 134.6-134.6h344.7c74.2 0 134.6 60.4 134.6 134.6v273.4c0 24.8-20.1 44.9-44.9 44.9z m-479.2-89.8h434.3V194.3c0-24.7-20.1-44.8-44.8-44.8H338.9c-24.7 0-44.8 20.1-44.8 44.8v228.5z M408.9 354.7c-24.8 0-44.9-20.1-44.9-44.9v-48.9c0-24.8 20.1-44.9 44.9-44.9 24.8 0 44.9 20.1 44.9 44.9v48.9c0 24.8-20.1 44.9-44.9 44.9zM612.7 354.7c-24.8 0-44.9-20.1-44.9-44.9v-48.9c0-24.8 20.1-44.9 44.9-44.9s44.9 20.1 44.9 44.9v48.9c0 24.8-20.1 44.9-44.9 44.9z</Geometry> <Geometry x:Key="Icon_Operation">M823.466667 512H578.133333v-187.733333c0-66.133333-53.333333-119.466667-117.333333-119.466667s-117.333333 53.333333-117.333333 119.466667v296.533333l-21.333334-21.333333c-46.933333-46.933333-121.6-46.933333-168.533333-2.133334s-44.8 121.6 2.133333 168.533334l174.933334 174.933333c6.4 6.4 14.933333 8.533333 23.466666 8.533333 8.533333 0 17.066667-2.133333 23.466667-8.533333 12.8-12.8 12.8-32 0-44.8l-174.933333-174.933333c-21.333333-21.333333-23.466667-57.6-2.133334-76.8 21.333333-21.333333 55.466667-19.2 76.8 2.133333l74.666667 74.666667c12.8 12.8 32 12.8 44.8 0 6.4-6.4 8.533333-14.933333 8.533333-23.466667V326.4c0-29.866667 23.466667-55.466667 53.333334-55.466667s53.333333 25.6 53.333333 55.466667v219.733333c0 17.066667 14.933333 32 32 32h277.333333c6.4 0 10.666667 6.4 10.666667 12.8V917.333333c0 17.066667 14.933333 32 32 32S896 934.4 896 917.333333V586.666667c2.133333-40.533333-32-74.666667-72.533333-74.666667z M266.666667 330.666667c17.066667 0 32-14.933333 32-32 0-87.466667 72.533333-160 160-160S618.666667 211.2 618.666667 298.666667c0 17.066667 14.933333 32 32 32S682.666667 315.733333 682.666667 298.666667c0-123.733333-100.266667-224-224-224S234.666667 174.933333 234.666667 298.666667c0 17.066667 14.933333 32 32 32z</Geometry> <Geometry x:Key="Icon_Configuration">M384 960H224c-52.906667 0-96-43.093333-96-96V160c0-52.906667 43.093333-96 96-96h576c52.906667 0 96 43.093333 96 96v224c0 17.706667-14.293333 32-32 32s-32-14.293333-32-32V160c0-17.706667-14.4-32-32-32H224c-17.706667 0-32 14.293333-32 32v704c0 17.6 14.293333 32 32 32h160c17.706667 0 32 14.293333 32 32s-14.293333 32-32 32z M694.293333 701.866667m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z M755.626667 963.626667l-13.226667-10.666667c-10.56-8.533333-28.16-18.666667-51.626667-18.666667-18.133333 0-35.626667 6.186667-50.56 17.813334l-13.546666 10.453333-16.213334-5.333333c-36.693333-12.053333-71.146667-32.64-99.733333-59.52L498.88 886.4l2.24-16.32c2.56-18.773333-0.853333-37.013333-9.92-52.693333-8.853333-15.36-22.4-27.2-39.253333-34.346667l-15.253334-6.4-3.52-16.213333c-4.053333-18.773333-6.186667-37.76-6.186666-56.32 0-20.373333 2.453333-40.96 7.146666-61.226667l3.733334-15.893333 15.04-6.293334c17.066667-7.146667 30.72-19.093333 39.573333-34.453333 8.746667-15.146667 12.266667-32.64 10.24-50.666667l-1.813333-16.106666 11.946666-10.986667c29.226667-26.986667 64.426667-47.36 101.866667-58.88l15.786667-4.906667 13.013333 10.026667c29.653333 22.506667 70.293333 22.506667 99.84 0l13.013333-10.026667 15.786667 4.906667c37.546667 11.626667 71.466667 31.146667 100.906667 58.026667l12.48 11.413333-2.346667 16.746667c-2.666667 18.88 0.64 37.226667 9.92 53.013333 11.52 19.946667 28.693333 30.08 41.173333 35.093333l15.573334 6.293334L953.6 646.4c4.266667 19.2 6.4 38.613333 6.4 57.6 0 18.986667-2.133333 38.186667-6.293333 57.28l-3.733334 16.853333-16.106666 6.186667c-18.346667 7.04-32.96 19.306667-42.346667 35.52-11.52 20.053333-11.626667 40.106667-9.706667 53.546667l2.56 16.96-12.8 11.52c-29.013333 26.133333-62.613333 45.226667-99.84 56.64l-16.106666 5.12z m-64.853334-93.333334c27.306667 0 53.546667 7.573333 76.693334 22.08 17.813333-7.04 34.453333-16.426667 49.6-28.16-0.746667-26.986667 5.76-53.12 19.2-76.373333 13.76-23.68 33.493333-42.666667 57.706666-55.466667 1.386667-9.493333 2.026667-18.986667 2.026667-28.266666 0-9.386667-0.746667-19.093333-2.133333-28.8-23.573333-12.906667-42.88-31.573333-56.213334-54.72-13.333333-23.146667-19.84-49.066667-19.2-75.733334-15.573333-12.373333-32.746667-22.186667-50.986666-29.333333-45.12 26.666667-102.613333 26.666667-147.733334 0-18.773333 7.36-36.266667 17.493333-52.266666 30.293333-0.106667 25.6-6.613333 50.346667-19.413334 72.426667-13.013333 22.613333-31.573333 40.853333-54.293333 53.653333-1.706667 10.773333-2.666667 21.546667-2.666667 32.213334 0 9.28 0.64 18.666667 2.026667 28.16 22.293333 12.8 40.64 30.933333 53.546667 53.226666 13.333333 23.04 19.84 48.853333 19.306666 75.52 15.253333 12.48 32.32 22.613333 50.24 30.08 22.613333-13.76 48.106667-20.8 74.56-20.8zM736 320H288c-17.706667 0-32-14.293333-32-32s14.293333-32 32-32h448c17.706667 0 32 14.293333 32 32s-14.293333 32-32 32z M480 448H288c-17.706667 0-32-14.293333-32-32s14.293333-32 32-32h192c17.706667 0 32 14.293333 32 32s-14.293333 32-32 32z</Geometry> <Geometry x:Key="Icon_DataLog">M778.897699 357.164562c0 0-8.915044-25.083282-8.915044-39.09132 0-49.691749 40.274262-89.958848 89.955778-89.958848 49.684586 0 89.959871 40.266076 89.959871 89.958848 0 49.678446-40.275285 89.950661-89.959871 89.950661-3.5345 0-7.02295-0.204661-10.453073-0.599657L688.578648 592.124875c12.164041 15.682167 19.23611 35.808554 19.23611 57.761542 0 50.066279-40.590464 90.657766-90.664929 90.657766-50.073442 0-88.779999-35.885302-88.779999-85.950558l-115.476011-92.133374c-16.444531 17.425881-37.875632 26.425859-63.729463 26.425859-33.247218 0-62.290695-17.981537-77.93193-44.753273l-106.45966 40.508599 0 187.455369c0 32.032554 32.028461 28.257577 32.028461 28.257577l723.428364 0c0 0 30.141484 23.552415 30.141484 49.92404 0 26.376741-30.141484 40.503483-30.141484 40.503483l-754.514359 1.213641c-90.430592 0-89.491197-95.407953-89.491197-95.407953L76.224032 169.234379c0-28.257577 44.276413-32.958646 44.276413-32.958646 28.257577 0 44.272319 29.195949 44.272319 29.195949l0.942465 340.987115 98.001011-31.696909c12.062733-35.609009 30.688953-66.261123 85.449137-66.261123 49.808406 0 90.192162 38.496779 90.192162 88.308255l113.895003 86.481653c17.897625-26.376741 67.666122-24.076348 67.666122-24.076348L778.897699 357.164562z</Geometry> <Geometry x:Key="Icon_Gou">M839.094857 253.586286l77.238857 77.970285-484.205714 480.036572-254.098286-291.84 82.797715-72.045714 177.152 203.556571z</Geometry> <Geometry x:Key="Icon_IO">M82.897455 242.920727h145.966545v43.333818c0 31.138909 25.320727 56.506182 56.506182 56.506182h126.882909c31.138909 0 56.506182-25.320727 56.506182-56.506182v-43.333818h475.275636a34.909091 34.909091 0 0 0 0-69.818182H468.712727v-43.426909c0-31.138909-25.320727-56.459636-56.506182-56.459636H285.370182c-31.138909 0-56.506182 25.320727-56.506182 56.459636v43.426909H82.897455a34.909091 34.909091 0 0 0 0 69.818182z m215.784727-99.886545H398.894545v129.908363H298.682182V143.034182z m645.306182 343.179636h-145.966546v-43.333818c0-31.185455-25.367273-56.552727-56.506182-56.552727h-126.882909c-31.138909 0-56.506182 25.367273-56.506182 56.552727v43.380364H82.897455a34.909091 34.909091 0 0 0 0 69.818181h475.275636v43.380364c0 31.138909 25.367273 56.506182 56.506182 56.506182h126.882909c31.138909 0 56.506182-25.367273 56.506182-56.506182v-43.380364h145.966545a34.909091 34.909091 0 1 0-0.046545-69.864727z m-215.738182 99.886546h-100.212364V456.145455h100.212364v129.954909z m215.738182 213.224727H468.712727v-43.380364c0-31.138909-25.320727-56.506182-56.506182-56.506182H285.370182c-31.138909 0-56.506182 25.367273-56.506182 56.506182v43.380364H82.897455a34.909091 34.909091 0 0 0 0 69.818182h145.966545v43.380363c0 31.185455 25.320727 56.552727 56.506182 56.552728h126.882909c31.138909 0 56.506182-25.367273 56.506182-56.552728v-43.380363h475.275636a34.909091 34.909091 0 1 0-0.046545-69.818182zM398.894545 899.211636H298.682182v-129.954909H398.894545v129.954909z</Geometry> <Geometry x:Key="Icon_TM">M226.167467 541.474133A106.632533 106.632533 0 1 1 332.8 434.8416a106.752 106.752 0 0 1-106.632533 106.632533z m0-179.114666A72.4992 72.4992 0 1 0 298.666667 434.8416a72.567467 72.567467 0 0 0-72.4992-72.482133z M227.9424 541.44a108.1856 108.1856 0 0 1-49.339733-204.561067L507.733333 168.96a108.1856 108.1856 0 1 1 98.304 192.853333l-329.130666 167.8336a107.52 107.52 0 0 1-48.964267 11.793067z m328.823467-350.088533a73.693867 73.693867 0 0 0-33.536 8.0896L194.116267 367.274667a74.069333 74.069333 0 1 0 67.293866 131.959466L590.506667 331.400533a74.069333 74.069333 0 0 0-33.757867-140.049066z M436.667733 849.527467a110.626133 110.626133 0 0 1-20.155733-1.877334 107.52 107.52 0 0 1-69.358933-45.243733L138.461867 497.544533a108.202667 108.202667 0 0 1 178.568533-122.231466L525.653333 680.192a108.2368 108.2368 0 0 1-89.053866 169.335467zM227.6352 362.3936a74.018133 74.018133 0 0 0-61.013333 115.8656l208.6912 304.878933a74.069333 74.069333 0 1 0 122.231466-83.626666L288.8704 394.5984a74.052267 74.052267 0 0 0-61.2352-32.2048zM657.237333 266.581333l-11.281066-28.347733c-4.693333-14.062933-7.645867-18.670933-15.5648-30.976l-1.211734-1.8944-21.845333-23.278933L704.699733 146.773333l-0.1024 98.7136z m14.506667-37.376l0.3584 0.904534 5.205333-2.321067v-42.018133l-22.971733 8.311466c7.850667 12.066133 11.9296 18.807467 17.408 35.1232zM819.9168 344.337067l-90.999467-75.997867 1.8432-132.2496 93.0816-73.4208 81.646934 68.181333-32.8192 39.287467-49.749334-41.540267-41.301333 32.580267-1.1776 83.5072 40.3968 33.723733 50.8928-40.1408 31.709867 40.192-83.524267 65.877334z M701.1328 183.944533h37.819733v32.4096h-37.819733zM338.397867 775.611733h14.779733a16.093867 16.093867 0 0 1 16.093867 16.093867v89.736533h-30.8736v-105.813333-0.017067zM513.962667 723.524267h9.181866a21.538133 21.538133 0 0 1 21.538134 21.538133v144.401067h-30.72v-165.9392z M769.518933 967.099733H128.853333a41.147733 41.147733 0 0 1-41.096533-41.1136v-7.099733a41.130667 41.130667 0 0 1 41.096533-41.096533h640.6656A41.147733 41.147733 0 0 1 810.666667 918.8864v7.099733a41.1648 41.1648 0 0 1-41.147734 41.1136zM128.853333 911.9232a6.9632 6.9632 0 0 0-6.9632 6.9632v7.099733a6.980267 6.980267 0 0 0 6.9632 6.980267h640.6656a6.980267 6.980267 0 0 0 6.980267-6.980267v-7.099733a6.980267 6.980267 0 0 0-6.980267-6.9632z M171.8272 960H129.792a42.0864 42.0864 0 0 1-42.0352-42.0352v-62.395733a42.0352 42.0352 0 0 1 84.0704 0z m-42.0352-112.3328a7.918933 7.918933 0 0 0-7.901867 7.901867v62.395733a7.918933 7.918933 0 0 0 7.901867 7.901867h7.901867v-70.2976a7.901867 7.901867 0 0 0-7.901867-7.901867zM768.1536 960h-42.0352v-104.430933a42.0352 42.0352 0 0 1 84.0704 0v62.395733a42.0864 42.0864 0 0 1-42.0352 42.0352z m-7.901867-34.133333h7.901867a7.918933 7.918933 0 0 0 7.901867-7.901867v-62.395733a7.901867 7.901867 0 0 0-15.803734 0z</Geometry> <Geometry x:Key="Icon_Next">M530.850448 573.163313c32.005172-31.883636 32.111192-87.434343-0.069818-119.489939C399.437114 322.845737 268.507336 191.603071 137.436629 60.506505c-12.621576-12.625455-27.585939-20.686869-45.26804-23.540364-3.529697-0.570182-7.085253-0.999434-10.630465-1.499798-1.025293 0-2.055758 0-3.081051 0-4.035232 0.575354-8.111838 0.943838-12.091475 1.757091-33.298101 6.818909-54.838303 26.616242-63.959919 59.278222-3.201293 11.479919-2.806949 24.85398-1.135192 35.701657 1.751919 11.344162 7.11499 21.818182 14.479515 30.904889 3.444364 4.252444 7.050343 8.418263 10.918788 12.291879 111.045818 111.127273 222.142061 222.222222 333.247354 333.293899 1.444202 1.444202 3.227152 2.554828 5.187232 4.080485-2.121697 2.222545-3.475394 3.696485-4.879515 5.100606C252.653437 625.450667 145.164468 733.112889 37.416912 840.506182c-15.829333 15.773737-33.541172 31.162182-36.146424 54.273293-1.233455 10.908444-1.859232 22.111677 0 32.929616 0.919273 5.363071 3.262061 10.423596 5.494949 15.358707 23.655434 52.318384 89.514667 64.241778 130.66602 23.186101C268.668953 835.315071 399.501761 703.987071 530.850448 573.163313L530.850448 573.163313zM78.451902 35.466343l-12.091475 1.757091C70.345235 36.410182 74.421841 36.041697 78.451902 35.466343L78.451902 35.466343zM551.467498 36.441212c-38.000485 2.858667-70.434909 37.034667-71.651556 75.106263-0.79903 24.979394 8.131232 45.650747 25.691798 63.197091 111.383273 111.252687 222.661818 222.615273 334.015354 333.893818 1.534707 1.534707 3.686141 2.448808 6.595232 4.327434-3.35903 2.667313-5.116121 3.803798-6.565495 5.253172-68.050747 68.000323-136.075636 136.035556-204.100525 204.065616C591.916791 765.814949 548.391619 809.360808 504.845761 852.880808c-19.449535 19.439192-28.328081 42.706747-24.045899 70.054788 4.829091 30.919111 22.440081 52.516202 51.712 63.010909 29.450343 10.550303 56.692364 4.803232 80.49002-15.848727 1.944566-1.682101 3.798626-3.470222 5.616485-5.288081 130.121697-130.111354 259.955071-260.509737 390.546101-390.141414 33.272242-33.035636 33.454545-88.934141 1.206303-121.050505C879.016912 322.804364 748.093599 191.557818 617.028064 60.456081c-12.626747-12.626747-27.611798-20.655838-45.288727-23.505455-3.534869-0.570182-7.090424-0.994263-10.635636-1.484283-1.030465 0-2.055758 0-3.086222 0.005172C555.835013 35.799919 553.659013 36.274424 551.467498 36.441212L551.467498 36.441212zM551.467498 36.441212</Geometry> <Geometry x:Key="Icon_Home">M1017.3952 622.848l-452.0448-499.6096A71.2704 71.2704 0 0 0 512 99.1744c-20.3264 0-39.2704 8.5504-53.3504 24.064L6.6048 622.848a25.6 25.6 0 0 0 37.9392 34.304l109.0048-120.4736V947.2c0 42.3424 34.4576 76.8 76.8 76.8h563.2c42.3424 0 76.8-34.4576 76.8-76.8v-410.5216l109.0048 120.4736a25.5488 25.5488 0 1 0 37.9392-34.3552zM614.4 972.8H409.6v-230.4a25.6 25.6 0 0 1 25.6-25.6h153.6a25.6 25.6 0 0 1 25.6 25.6V972.8z m204.8-25.6a25.6 25.6 0 0 1-25.6 25.6H665.6v-230.4c0-42.3424-34.4576-76.8-76.8-76.8h-153.6c-42.3424 0-76.8 34.4576-76.8 76.8V972.8H230.4a25.6 25.6 0 0 1-25.6-25.6V480.1024l291.84-322.56c4.1984-4.6592 9.6768-7.2192 15.36-7.2192s11.1616 2.56 15.36 7.2192l291.84 322.56V947.2z</Geometry> <Geometry x:Key="Icon_Abort">M287.163054 625.773455c-14.136452 0-25.594676-11.459248-25.594676-25.594676l0-358.751364c0-30.787324 15.917841-58.35791 42.581351-73.751572 26.662486-15.393662 58.499192-15.394686 85.161678 0l173.710044 100.291203c12.241422 7.067202 16.435877 22.720906 9.367652 34.962328-7.066178 12.240398-22.717835 16.436901-34.962328 9.367652l-173.710044-100.291203c-15.332235-8.851663-28.864652-2.948507-33.972326 0-5.107674 2.94953-16.986675 11.718267-16.986675 29.420569l0 358.751364C312.75773 614.314207 301.298482 625.773455 287.163054 625.773455z M346.73108 867.869403c-14.624798 0-29.249596-3.848416-42.581351-11.545247-26.66351-15.393662-42.581351-42.964247-42.581351-73.751572 0-14.135428 11.459248-25.594676 25.594676-25.594676s25.594676 11.459248 25.594676 25.594676c0 17.702302 11.879001 26.471038 16.986675 29.420569s18.642138 8.851663 33.972326 0l468.644666-270.571561c15.331211-8.851663 16.986675-23.523555 16.986675-29.420569 0-5.897013-1.65444-20.569929-16.986675-29.421592l-153.418585-88.577032c-12.241422-7.067202-16.436901-22.720906-9.367652-34.962328 7.067202-12.241422 22.720906-16.436901 34.962328-9.367652l153.418585 88.577032c26.66351 15.394686 42.581351 42.966295 42.581351 73.753619 0 30.7863-15.918865 58.35791-42.581351 73.750548l-468.644666 270.571561C375.979652 864.020988 361.354854 867.869403 346.73108 867.869403z M165.708125 814.893542c-3.930318 0-7.860637-1.499848-10.858285-4.49852-5.997345-5.996321-5.997345-15.72025 0-21.717595l599.814311-599.814311c5.996321-5.996321 15.72025-5.996321 21.717595 0 5.997345 5.996321 5.997345 15.72025 0 21.717595l-599.814311 599.814311C173.568762 813.393694 169.638443 814.893542 165.708125 814.893542z</Geometry> <Geometry x:Key="Icon_Save">M661.333333 320h-170.666666c-12.8 0-21.333333-8.533333-21.333334-21.333333s8.533333-21.333333 21.333334-21.333334h170.666666c12.8 0 21.333333 8.533333 21.333334 21.333334s-8.533333 21.333333-21.333334 21.333333z M874.666667 917.333333H149.333333c-12.8 0-21.333333-8.533333-21.333333-21.333333V128c0-12.8 8.533333-21.333333 21.333333-21.333333h533.333334c6.4 0 10.666667 2.133333 14.933333 6.4l192 192c4.266667 4.266667 6.4 8.533333 6.4 14.933333v576c0 12.8-8.533333 21.333333-21.333333 21.333333zM170.666667 874.666667h682.666666V328.533333L674.133333 149.333333H170.666667v725.333334z M746.666667 917.333333H277.333333c-12.8 0-21.333333-8.533333-21.333333-21.333333V554.666667c0-12.8 8.533333-21.333333 21.333333-21.333334h469.333334c12.8 0 21.333333 8.533333 21.333333 21.333334v341.333333c0 12.8-8.533333 21.333333-21.333333 21.333333z m-448-42.666666h426.666666V576H298.666667v298.666667z</Geometry> <Geometry x:Key="Icon_Add">M874.666667 469.333333H554.666667V149.333333c0-23.466667-19.2-42.666667-42.666667-42.666666s-42.666667 19.2-42.666667 42.666666v320H149.333333c-23.466667 0-42.666667 19.2-42.666666 42.666667s19.2 42.666667 42.666666 42.666667h320v320c0 23.466667 19.2 42.666667 42.666667 42.666666s42.666667-19.2 42.666667-42.666666V554.666667h320c23.466667 0 42.666667-19.2 42.666666-42.666667s-19.2-42.666667-42.666666-42.666667z</Geometry> <Geometry x:Key="Icon_Delete">M341.34016 128l554.65984 0q53.00224 0 90.50112 37.49888t37.49888 90.50112l0 512q0 53.00224-37.49888 90.50112t-90.50112 37.49888l-554.65984 0-341.34016-384zM896 213.34016l-516.34176 0-265.33888 298.65984 265.33888 298.65984 516.34176 0q17.67424 0 30.16704-12.4928t12.4928-30.16704l0-512q0-17.67424-12.4928-30.16704t-30.16704-12.4928zM810.65984 384q0 18.00192-12.32896 30.33088l-97.9968 97.66912 97.9968 97.66912q12.32896 12.32896 12.32896 30.33088 0 18.3296-12.16512 30.49472t-30.49472 12.16512q-18.00192 0-30.33088-12.32896l-97.66912-97.9968-97.66912 97.9968q-12.32896 12.32896-30.33088 12.32896-17.67424 0-30.16704-12.4928t-12.4928-30.16704q0-17.32608 12.32896-30.33088l97.9968-97.66912-97.9968-97.66912q-12.32896-13.0048-12.32896-30.33088 0-17.67424 12.4928-30.16704t30.16704-12.4928q18.00192 0 30.33088 12.32896l97.66912 97.9968 97.66912-97.9968q12.32896-12.32896 30.33088-12.32896 18.3296 0 30.49472 12.16512t12.16512 30.49472z</Geometry> <ControlTemplate x:Key="ComboBoxToggleButton" TargetType="{x:Type ToggleButton}"> <Grid Height="25"> <Border Grid.Column="1" Background="White" Opacity="0" Cursor="Hand"/> <Path x:Name="Arrow" Grid.Column="1" Data="M 0 0 6 6 12 0 Z" VerticalAlignment="Center" HorizontalAlignment="Center" Stretch="None" Fill="#B1B1B1" /> </Grid> <ControlTemplate.Triggers> <Trigger Property="IsChecked" Value="true"> <Setter TargetName="Arrow" Property="RenderTransform"> <Setter.Value> <RotateTransform CenterX="6" CenterY="3" Angle="180"></RotateTransform> </Setter.Value> </Setter> <Setter TargetName="Arrow" Property="Margin" Value="0 0 0 2"/> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> <!--MultiComboBox普通样式--> <Style TargetType="{x:Type customControls:MultiComboBox}"> <Setter Property="Width" Value="200" /> <Setter Property="HorizontalContentAlignment" Value="Stretch" /> <Setter Property="VerticalContentAlignment" Value="Center" /> <Setter Property="SnapsToDevicePixels" Value="True" /> <Setter Property="MaxDropDownHeight" Value="400" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type customControls:MultiComboBox}"> <Grid> <Border x:Name="Bg" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Width="{TemplateBinding Width}" Height="{TemplateBinding Height}" BorderBrush="#eaeaea" BorderThickness="1" > <Grid x:Name="PART_Root"> <Grid x:Name="PART_InnerGrid" Margin="0"> <Grid.ColumnDefinitions> <ColumnDefinition Width="*" /> <ColumnDefinition Width="0.3*" MaxWidth="30" /> </Grid.ColumnDefinitions> <ListBox x:Name="PART_ListBoxChk" SelectionMode="Multiple" BorderThickness="0" ScrollViewer.VerticalScrollBarVisibility="Disabled"> <ListBox.ItemsPanel> <ItemsPanelTemplate> <VirtualizingStackPanel Orientation="Horizontal" VirtualizingStackPanel.IsVirtualizing="True" /> </ItemsPanelTemplate> </ListBox.ItemsPanel> <ListBox.ItemContainerStyle> <Style TargetType="ListBoxItem"> <Setter Property="BorderThickness" Value="0"/> <Setter Property="IsSelected" Value="True"/> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="ListBoxItem"> <CheckBox BorderThickness="0" VerticalAlignment="Center" HorizontalAlignment="Center" Content="{Binding ViewName}" IsChecked="{Binding Path=IsSelected,RelativeSource={RelativeSource TemplatedParent},Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/> </ControlTemplate> </Setter.Value> </Setter> </Style> </ListBox.ItemContainerStyle> </ListBox> <!--下拉按钮--> <ToggleButton x:Name="PART_DropDownToggle" IsTabStop="False" IsChecked="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" Grid.Column="1" Template="{StaticResource ComboBoxToggleButton}" /> </Grid> </Grid> </Border> <!--弹出多选列表--> <Popup x:Name="PART_Popup" AllowsTransparency="True" Focusable="False" StaysOpen="False" IsOpen="{Binding IsDropDownOpen, RelativeSource={RelativeSource TemplatedParent}}" PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}" Placement="Bottom"> <Grid Width="{Binding ActualWidth, RelativeSource={RelativeSource TemplatedParent}}" MaxHeight="{Binding MaxDropDownHeight, RelativeSource={RelativeSource TemplatedParent}}" > <ListBox x:Name="PART_ListBox" SelectionMode="Multiple" BorderThickness="1 0 1 1" Background="White" ItemsSource="{Binding ItemsSource,RelativeSource={RelativeSource TemplatedParent}}" MaxHeight="{TemplateBinding MaxDropDownHeight}" BorderBrush="#eaeaea" > <ListBox.ItemContainerStyle> <Style TargetType="ListBoxItem"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type ListBoxItem}" > <Grid Height="22"> <Border Background="White" Opacity="1"/> <Border x:Name="bg" BorderBrush="#eaeaea" BorderThickness="0"/> <ContentPresenter x:Name="content" /> </Grid> <ControlTemplate.Triggers> <Trigger Property="IsSelected" Value="True"> <Setter TargetName="bg" Property="Background" Value="#ADD6FF" /> </Trigger> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="IsMouseOver" Value="true" /> <Condition Property="IsSelected" Value="false"/> </MultiTrigger.Conditions> <Setter TargetName="bg" Property="Background" Value="#009BDB" /> <Setter TargetName="bg" Property="Opacity" Value="0.7"/> <Setter Property="Foreground" Value="White" /> </MultiTrigger> <Trigger Property="IsEnabled" Value="False"> <Setter TargetName="bg" Property="Opacity" Value="0.3" /> <Setter Property="Foreground" Value="Gray" /> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> </ListBox.ItemContainerStyle> <ListBox.ItemTemplate> <DataTemplate> <Grid> <CheckBox x:Name="chk" Visibility="Hidden" IsChecked="{Binding IsCheck,Mode=TwoWay}" VerticalAlignment="Center"/> <CheckBox VerticalAlignment="Center" Foreground="{Binding Foreground,RelativeSource={RelativeSource AncestorType=ListBoxItem}}" IsChecked="{Binding RelativeSource={RelativeSource AncestorType=ListBoxItem},Path=IsSelected,Mode=TwoWay}" Content="{Binding Path=ViewName}" /> </Grid> <DataTemplate.Triggers> <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType=ListBoxItem},Path=IsSelected}" Value="true"> <Setter TargetName="chk" Property="IsChecked" Value="true"/> </DataTrigger> <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType=ListBoxItem},Path=IsSelected}" Value="false"> <Setter TargetName="chk" Property="IsChecked" Value="false"/> </DataTrigger> </DataTemplate.Triggers> </DataTemplate> </ListBox.ItemTemplate> </ListBox> </Grid> </Popup> </Grid> </ControlTemplate> </Setter.Value> </Setter> </Style> <Style TargetType="{x:Type customControls:PathButton}"> <Setter Property="Background" Value="#009ad6" /> <Setter Property="BorderBrush" Value="Silver" /> <Setter Property="Foreground" Value="White" /> <Setter Property="Cursor" Value="Hand"/> <Setter Property="BorderThickness" Value="1" /> <Setter Property="MouseOverBrush" Value="#1b315e"/> <Setter Property="IsPressedBrush" Value="#009ad6"/> <!--<Setter Property="Focusable" Value="False"/>--> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type customControls:PathButton}"> <Border x:Name="border" CornerRadius="4" Background ="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" SnapsToDevicePixels="true" IsEnabled="{TemplateBinding IsEnabled}"> <StackPanel Orientation="Horizontal" HorizontalAlignment="Center"> <Path x:Name="Path" Data="{TemplateBinding PathData}" Fill="{TemplateBinding DefaultFillBrush}" RenderTransformOrigin="0.5,0.5" Stretch="Uniform" Margin="5"/> <TextBlock HorizontalAlignment="Right" x:Name="tb" Text="{TemplateBinding Content}" VerticalAlignment="Center" FontSize="18" Margin="0,0,5,0" Foreground="{TemplateBinding Foreground}"/> </StackPanel> </Border> <ControlTemplate.Triggers> <Trigger Property="IsDefaulted" Value="True"> <Setter TargetName="Path" Property="Fill" Value="White" /> </Trigger> <Trigger Property="IsMouseOver" Value="True"> <!--<Setter TargetName="border" Property="Opacity" Value="0.7" />--> <Setter TargetName="border" Property="Background" Value="{StaticResource Color_BG_WindowButton_Highlight}"/> </Trigger> <Trigger Property="IsPressed" Value="True"> <Setter TargetName="Path" Property="Fill" Value="Black" /> <Setter TargetName="tb" Property="Foreground" Value="Black" /> </Trigger> <Trigger Property="IsEnabled" Value="False"> <Setter TargetName="border" Property="Background" Value="#D2D2D2" /> <Setter TargetName="border" Property="BorderThickness" Value="0" /> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> <Style TargetType="{x:Type customControls:StepBarItem}"> <Setter Property="FontWeight" Value="Bold" /> <Setter Property="FontSize" Value="14" /> <Setter Property="FontFamily" Value="宋体" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type customControls:StepBarItem}"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <StackPanel Orientation="Horizontal"> <Grid Margin="0,0,10,0"> <Border x:Name="Bd" BorderBrush="#CCCCCC" Width="25" Height="25" CornerRadius="100" BorderThickness="1" SnapsToDevicePixels="True" UseLayoutRounding="True"> </Border> <TextBlock x:Name="Number" Text="{TemplateBinding Number}" HorizontalAlignment="Center" VerticalAlignment="Center" /> <Path x:Name="path" Data="{StaticResource Icon_Gou}" Stretch="Uniform" Width="12" Fill="#3399FF" Visibility="Collapsed" /> </Grid> <ContentPresenter VerticalAlignment="Center" /> </StackPanel> <Border x:Name="Line" Grid.Column="1" BorderBrush="#E3E8EE" BorderThickness="0,1,0,0" VerticalAlignment="Center" Margin="10,0" SnapsToDevicePixels="True" UseLayoutRounding="True" /> </Grid> <ControlTemplate.Triggers> <DataTrigger Value="True"> <DataTrigger.Binding> <MultiBinding Converter="{StaticResource IsLastItemConverter}"> <Binding RelativeSource="{RelativeSource Self}" /> <Binding RelativeSource="{RelativeSource AncestorType={x:Type customControls:StepBar}}" Path="Items.Count"/> </MultiBinding> </DataTrigger.Binding> <Setter TargetName="Line" Property="Visibility" Value="Collapsed" /> </DataTrigger> <DataTrigger Value="False"> <DataTrigger.Binding> <MultiBinding Converter="{StaticResource IsLastItemConverter}"> <Binding RelativeSource="{RelativeSource Self}" /> <Binding RelativeSource="{RelativeSource AncestorType={x:Type customControls:StepBar}}" Path="Items.Count"/> </MultiBinding> </DataTrigger.Binding> <Setter TargetName="Line" Property="Visibility" Value="Visible" /> </DataTrigger> <DataTrigger Value="Less"> <DataTrigger.Binding> <MultiBinding Converter="{StaticResource IsProgressedConverter}"> <Binding RelativeSource="{RelativeSource Self}" /> <Binding RelativeSource="{RelativeSource AncestorType={x:Type customControls:StepBar}}" Path="Progress"/> </MultiBinding> </DataTrigger.Binding> <Setter TargetName="Bd" Property="Background" Value="#003399FF" /> <Setter TargetName="Bd" Property="BorderBrush" Value="#3399FF" /> <Setter TargetName="Number" Property="Visibility" Value="Collapsed" /> <Setter TargetName="Line" Property="BorderBrush" Value="#3399FF" /> <Setter TargetName="path" Property="Visibility" Value="Visible" /> <Setter Property="Foreground" Value="#999999" /> </DataTrigger> <DataTrigger Value="Equal"> <DataTrigger.Binding> <MultiBinding Converter="{StaticResource IsProgressedConverter}"> <Binding RelativeSource="{RelativeSource Self}" /> <Binding RelativeSource="{RelativeSource AncestorType={x:Type customControls:StepBar}}" Path="Progress"/> </MultiBinding> </DataTrigger.Binding> <Setter TargetName="Bd" Property="Background" Value="#3399FF" /> <Setter TargetName="Bd" Property="BorderBrush" Value="#3399FF" /> <Setter TargetName="Number" Property="Visibility" Value="Visible" /> <Setter TargetName="Number" Property="Foreground" Value="#FFFFFF" /> <Setter TargetName="path" Property="Visibility" Value="Collapsed" /> <Setter Property="Foreground" Value="#666666" /> </DataTrigger> <DataTrigger Value="Large"> <DataTrigger.Binding> <MultiBinding Converter="{StaticResource IsProgressedConverter}"> <Binding RelativeSource="{RelativeSource Self}" /> <Binding RelativeSource="{RelativeSource AncestorType={x:Type customControls:StepBar}}" Path="Progress"/> </MultiBinding> </DataTrigger.Binding> <Setter Property="Foreground" Value="#999999" /> </DataTrigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> <Style TargetType="{x:Type customControls:StepBar}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type customControls:StepBar}"> <Border> <ItemsPresenter /> </Border> </ControlTemplate> </Setter.Value> </Setter> <Setter Property="ItemsPanel"> <Setter.Value> <ItemsPanelTemplate> <UniformGrid IsItemsHost="True" Rows="1" /> </ItemsPanelTemplate> </Setter.Value> </Setter> </Style> <!--MenuItem--> <Style TargetType="MenuItem"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="MenuItem"> <Grid Height="24" Background="#FBFBFD" Width="{TemplateBinding Width}"> <Grid.ColumnDefinitions> <ColumnDefinition Width="30" /> <ColumnDefinition Width="*" MinWidth="80"/> </Grid.ColumnDefinitions> <Border Background="#EBEBED"/> <Border x:Name="_border" Grid.ColumnSpan="2"/> <Path x:Name="path" Width="12" Height="12" Stretch="Fill" Data="{StaticResource Icon_Gou}" Fill="Transparent"/> <TextBlock Foreground="#2D2D30" Grid.Column="1" Margin="5 0 15 0" VerticalAlignment="Center" x:Name="_txt" Text="{Binding Header,RelativeSource={RelativeSource TemplatedParent}}" /> <!--<Path Visibility="Collapsed" x:Name="_path" Grid.Column="1" HorizontalAlignment="Right" Margin="5 13 5 0" Data="M0,4 4,0 0,-4 z" Fill="#7E8A92"/>--> <!--<Popup Placement="Right" x:Name="SubMenuPopup" AllowsTransparency="True" Focusable="False" IsOpen="{TemplateBinding IsSubmenuOpen}" > <ScrollViewer ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.HorizontalScrollBarVisibility="Disabled"> <Border Background="#ffc787" Name="SubmenuBorder" BorderBrush="LightGray" BorderThickness="1" SnapsToDevicePixels="True" > <StackPanel IsItemsHost="True" KeyboardNavigation.DirectionalNavigation="Cycle" /> </Border> </ScrollViewer> </Popup>--> </Grid> <ControlTemplate.Triggers> <!--<Trigger Property="HasItems" Value="true"> --><!--<Setter TargetName="_path" Property="Visibility" Value="Visible"/>--><!-- </Trigger>--> <Trigger Property="IsMouseOver" Value="true"> <Setter TargetName="_border" Property="Background" Value="#ffc787"/> <Setter TargetName="_txt" Property="Foreground" Value="White"/> <!--<Setter TargetName="_path" Property="Fill" Value="White"/>--> </Trigger> <Trigger Property="IsEnabled" Value="false"> <Setter TargetName="_txt" Property="Foreground" Value="Gray"/> <Setter TargetName="path" Property="Fill" Value="Green"/> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> </ResourceDictionary>