GasValve.xaml 1.1 KB

123456789101112131415161718
  1. <UserControl x:Class="Aitex.Core.UI.Control.GasValve"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. Height="15" Width="15" MaxHeight="15" BorderThickness="1" MaxWidth="15" MinHeight="15" MinWidth="15">
  5. <!--BorderBrush="Aqua"-->
  6. <UserControl.RenderTransform>
  7. <RotateTransform x:Name="rotateTransform" Angle="0" CenterX="7.5" CenterY="7.5"/>
  8. </UserControl.RenderTransform>
  9. <Canvas Opacity="1" Background="Transparent" MouseRightButtonUp="Canvas_MouseRightButtonUp" MouseEnter="Canvas_MouseEnter" MouseLeave="Canvas_MouseLeave">
  10. <!--<Canvas Name="nopass" Visibility="Hidden" Cursor="Hand" MouseLeftButtonDown="nopass_MouseLeftButtonDown"></Canvas>-->
  11. <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" />
  12. <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" />
  13. </Canvas>
  14. </UserControl>