GateValve.xaml 1.3 KB

12345678910111213141516171819
  1. <UserControl x:Class="Aitex.Core.UI.Control.GateValve"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. Height="15" Width="15" MaxHeight="15" BorderThickness="1" MaxWidth="15" MinHeight="15" MinWidth="15">
  7. <!--BorderBrush="Aqua"-->
  8. <UserControl.RenderTransform>
  9. <RotateTransform x:Name="rotateTransform" Angle="0" CenterX="7.5" CenterY="7.5"/>
  10. </UserControl.RenderTransform>
  11. <Canvas Opacity="1" Background="Transparent" MouseRightButtonUp="Canvas_MouseRightButtonUp" MouseEnter="Canvas_MouseEnter" MouseLeave="Canvas_MouseLeave">
  12. <!--<Canvas Name="nopass" Visibility="Hidden" Cursor="Hand" MouseLeftButtonDown="nopass_MouseLeftButtonDown"></Canvas>-->
  13. <Polygon Name="passtrigle" Opacity="1" Points="0,0 0,10 15,5" Fill="Green" Height="11.25" Canvas.Left="0" Canvas.Top="1.75" Width="14.8" />
  14. <Polygon Name="nopass" Opacity="1" Points="2,0 2,14 14,14 14,0" Fill="Black" Height="13" Canvas.Left="2.145" Canvas.Top="0" Width="7.25" />
  15. </Canvas>
  16. </UserControl>