123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- <UserControl x:Class="NEIntelligentControl2.Views.BoostStation.HandcartBig"
- 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:NEIntelligentControl2.Views.BoostStation"
- mc:Ignorable="d"
- Width="23" Height="58.5" Background="{DynamicResource BoostStationBackground}" MouseLeftButtonDown="UserControl_MouseLeftButtonDown" Loaded="UserControl_Loaded">
- <Grid>
- <Grid.Style>
- <Style TargetType="Grid">
- <Style.Triggers>
- <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}, Path=IsSelected}" Value="True">
- <Setter Property="Effect">
- <Setter.Value>
- <DropShadowEffect ShadowDepth="0" BlurRadius="9" Color="WhiteSmoke"/>
- </Setter.Value>
- </Setter>
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Grid.Style>
- <Viewbox Width="{Binding RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}, Path=Width}" Height="{Binding RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}, Path=Height}">
- <Viewbox.Style>
- <Style TargetType="Viewbox">
- <Style.Triggers>
- <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}, Path=Value}" Value="-1">
- <Setter Property="Visibility" Value="Visible"/>
- </DataTrigger>
- <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}, Path=Value}" Value="0">
- <Setter Property="Visibility" Value="Collapsed"/>
- </DataTrigger>
- <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}, Path=Value}" Value="1">
- <Setter Property="Visibility" Value="Collapsed"/>
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Viewbox.Style>
- <Canvas Width="14.818" Height="62.064">
- <Canvas.RenderTransform>
- <TranslateTransform X="-1096.1" Y="-589.33"/>
- </Canvas.RenderTransform>
- <Polyline xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Points="1110.4 642.7 1103.6 650.42 1096.6 642.7" Name="polyline2" FillRule="NonZero" StrokeThickness="1.3" Stroke="{DynamicResource BoostStationUndefined}" StrokeMiterLimit="10"/>
- <Polyline xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Points="1110.4 636.85 1103.6 644.57 1096.6 636.85" Name="polyline4" FillRule="NonZero" StrokeThickness="1.3" Stroke="{DynamicResource BoostStationUndefined}" StrokeMiterLimit="10"/>
- <Polyline xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Points="1096.6 605.18 1103.4 597.46 1110.4 605.18" Name="polyline6" FillRule="NonZero" StrokeThickness="1.3" Stroke="{DynamicResource BoostStationUndefined}" StrokeMiterLimit="10"/>
- <Polyline xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Points="1096.6 598.02 1103.4 590.3 1110.4 598.02" Name="polyline8" FillRule="NonZero" StrokeThickness="1.3" Stroke="{DynamicResource BoostStationUndefined}" StrokeMiterLimit="10"/>
- </Canvas>
- </Viewbox>
- <Viewbox Width="{Binding RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}, Path=Width}" Height="{Binding RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}, Path=Height}">
- <Viewbox.Style>
- <Style TargetType="Viewbox">
- <Style.Triggers>
- <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}, Path=Value}" Value="1">
- <Setter Property="Visibility" Value="Visible"/>
- </DataTrigger>
- <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}, Path=Value}" Value="0">
- <Setter Property="Visibility" Value="Collapsed"/>
- </DataTrigger>
- <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}, Path=Value}" Value="-1">
- <Setter Property="Visibility" Value="Collapsed"/>
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Viewbox.Style>
- <Canvas Width="14.818" Height="62.064">
- <Canvas.RenderTransform>
- <TranslateTransform X="-1096.1" Y="-589.33"/>
- </Canvas.RenderTransform>
- <Polyline xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Points="1110.4 642.7 1103.6 650.42 1096.6 642.7" FillRule="NonZero" StrokeThickness="1.3" Stroke="{DynamicResource BoostStationOn}" StrokeMiterLimit="10"/>
- <Polyline xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Points="1110.4 636.85 1103.6 644.57 1096.6 636.85" FillRule="NonZero" StrokeThickness="1.3" Stroke="{DynamicResource BoostStationOn}" StrokeMiterLimit="10"/>
- <Polyline xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Points="1096.6 605.18 1103.4 597.46 1110.4 605.18" FillRule="NonZero" StrokeThickness="1.3" Stroke="{DynamicResource BoostStationOn}" StrokeMiterLimit="10"/>
- <Polyline xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Points="1096.6 598.02 1103.4 590.3 1110.4 598.02" FillRule="NonZero" StrokeThickness="1.3" Stroke="{DynamicResource BoostStationOn}" StrokeMiterLimit="10"/>
- </Canvas>
- </Viewbox>
- <Viewbox Width="{Binding RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}, Path=Width}" Height="{Binding RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}, Path=Height}">
- <Viewbox.Style>
- <Style TargetType="Viewbox">
- <Style.Triggers>
- <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}, Path=Value}" Value="0">
- <Setter Property="Visibility" Value="Visible"/>
- </DataTrigger>
- <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}, Path=Value}" Value="1">
- <Setter Property="Visibility" Value="Collapsed"/>
- </DataTrigger>
- <DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType={x:Type UserControl}, Mode=FindAncestor}, Path=Value}" Value="-1">
- <Setter Property="Visibility" Value="Collapsed"/>
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </Viewbox.Style>
- <Canvas Width="14.818" Height="62.064">
- <Canvas.RenderTransform>
- <TranslateTransform X="-1096.1" Y="-589.33"/>
- </Canvas.RenderTransform>
- <Polyline xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Points="1110.4 642.7 1103.6 650.42 1096.6 642.7" FillRule="NonZero" StrokeThickness="1.3" Stroke="{DynamicResource BoostStationOff}" StrokeMiterLimit="10"/>
- <Polyline xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Points="1110.4 636.85 1103.6 644.57 1096.6 636.85" FillRule="NonZero" StrokeThickness="1.3" Stroke="{DynamicResource BoostStationOff}" StrokeMiterLimit="10"/>
- <Polyline xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Points="1096.6 605.18 1103.4 597.46 1110.4 605.18" FillRule="NonZero" StrokeThickness="1.3" Stroke="{DynamicResource BoostStationOff}" StrokeMiterLimit="10"/>
- <Polyline xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Points="1096.6 598.02 1103.4 590.3 1110.4 598.02" FillRule="NonZero" StrokeThickness="1.3" Stroke="{DynamicResource BoostStationOff}" StrokeMiterLimit="10"/>
- </Canvas>
- </Viewbox>
- </Grid>
- </UserControl>
|