123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <UserControl x:Class="NEIntelligentControl2.Views.BoostStation.HandcartSmall"
- 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="15" Height="15" MouseLeftButtonDown="UserControl_MouseLeftButtonDown" Background="{DynamicResource BoostStationBackground}" 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 Name="g6" Width="14.809" Height="16.294">
- <Canvas.RenderTransform>
- <TranslateTransform X="-727.87" Y="-594.66"/>
- </Canvas.RenderTransform>
- <Polyline xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Points="728.36 610.52 735.19 602.79 742.2 610.52" FillRule="NonZero" StrokeThickness="1.3" Stroke="{DynamicResource BoostStationUndefined}" StrokeMiterLimit="10"/>
- <Polyline xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Points="728.36 603.36 735.19 595.63 742.2 603.36" 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.809" Height="16.294">
- <Canvas.RenderTransform>
- <TranslateTransform X="-727.87" Y="-594.66"/>
- </Canvas.RenderTransform>
- <Polyline xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Points="728.36 610.52 735.19 602.79 742.2 610.52" FillRule="NonZero" StrokeThickness="1.3" Stroke="{DynamicResource BoostStationOn}" StrokeMiterLimit="10"/>
- <Polyline xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Points="728.36 603.36 735.19 595.63 742.2 603.36" 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.809" Height="16.294">
- <Canvas.RenderTransform>
- <TranslateTransform X="-727.87" Y="-594.66"/>
- </Canvas.RenderTransform>
- <Polyline xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Points="728.36 610.52 735.19 602.79 742.2 610.52" FillRule="NonZero" StrokeThickness="1.3" Stroke="{DynamicResource BoostStationOff}" StrokeMiterLimit="10"/>
- <Polyline xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Points="728.36 603.36 735.19 595.63 742.2 603.36" FillRule="NonZero" StrokeThickness="1.3" Stroke="{DynamicResource BoostStationOff}" StrokeMiterLimit="10"/>
- </Canvas>
- </Viewbox>
- </Grid>
- </UserControl>
|