HandValve.xaml 1.1 KB

12345678910111213141516171819
  1. <UserControl x:Class="Aitex.Core.UI.Control.HandValve"
  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. mc:Ignorable="d"
  7. Height="15" Width="15" MaxHeight="15" BorderThickness="1" MaxWidth="15" MinHeight="15" MinWidth="15">
  8. <UserControl.RenderTransform>
  9. <RotateTransform x:Name="rotateTransform" Angle="0" CenterX="7.5" CenterY="7.5"/>
  10. </UserControl.RenderTransform>
  11. <Canvas x:Name="canvasHandValve" ToolTip="手动阀" Cursor="Hand" Opacity="0.5" Background="Transparent" >
  12. <Polygon Name="polygon1" Opacity="1" Points="0,4 0,6 14,6 14,4" Cursor="Hand" Fill="Black" Height="11" Canvas.Left="0" Canvas.Top="1.75" Width="11" />
  13. <Polygon Name="polygon2" Opacity="1" Points="5,0 5,14 14,14 14,0" Cursor="Hand" Fill="Black" Height="13" Canvas.Left="5" Canvas.Top="0" Width="7.25" />
  14. </Canvas>
  15. </UserControl>