CheckValve.xaml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <UserControl x:Class="Aitex.Core.UI.Control.CheckValve"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. Height="15" Width="20" BorderThickness="0">
  5. <UserControl.RenderTransform>
  6. <RotateTransform x:Name="rotateTransform" Angle="0" CenterX="10" CenterY="7.5"/>
  7. </UserControl.RenderTransform>
  8. <Canvas Opacity="1">
  9. <Path Width="20" Height="15" Fill="Black" StrokeThickness="1" Canvas.Left="0" Canvas.Top="0">
  10. <Path.Data>
  11. <PathGeometry>
  12. <PathGeometry.Figures >
  13. <PathFigure StartPoint="0,0" IsClosed="True">
  14. <LineSegment Point="10,6"></LineSegment>
  15. <LineSegment Point="0,13"></LineSegment>
  16. <LineSegment Point="0,0"></LineSegment>
  17. </PathFigure>
  18. </PathGeometry.Figures>
  19. </PathGeometry>
  20. </Path.Data>
  21. </Path>
  22. <Path Width="20" Height="15" Fill="White" Stroke="Black" StrokeThickness="1" Canvas.Left="0" Canvas.Top="0">
  23. <Path.Data>
  24. <PathGeometry>
  25. <PathGeometry.Figures >
  26. <PathFigure StartPoint="20,0" IsClosed="True">
  27. <LineSegment Point="10,6"></LineSegment>
  28. <LineSegment Point="20,12"></LineSegment>
  29. <LineSegment Point="20,0"></LineSegment>
  30. </PathFigure>
  31. </PathGeometry.Figures>
  32. </PathGeometry>
  33. </Path.Data>
  34. </Path>
  35. </Canvas>
  36. </UserControl>