DrawingChannelGrab.xaml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <UserControl x:Class="MuchInfo.Chart.WPF.Controls.Drawing.DrawingChannelGrab"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. mc:Ignorable="d">
  7. <Border x:Name="LayoutRoot"
  8. Width="15"
  9. Height="15"
  10. Background="Transparent"
  11. BorderBrush="DimGray"
  12. BorderThickness="0">
  13. <Grid x:Name="Arrows">
  14. <Ellipse x:Name="dot"
  15. Width="6"
  16. Height="6"
  17. Margin="-3,-3,0,0"
  18. Stroke="White" />
  19. <Path x:Name="arrowPath"
  20. Fill="black"
  21. Stroke="Black"
  22. StrokeEndLineCap="Triangle"
  23. StrokeLineJoin="Miter"
  24. StrokeThickness="1">
  25. <Path.Data>
  26. <PathGeometry>
  27. <PathGeometry.Figures>
  28. <PathFigureCollection>
  29. <PathFigure StartPoint="6.5,0">
  30. <PathFigure.Segments>
  31. <LineSegment Point="5,2" />
  32. <LineSegment Point="6.5,2" />
  33. <LineSegment Point="6.5,11" />
  34. <LineSegment Point="5,11" />
  35. <LineSegment Point="6.5,13" />
  36. <LineSegment Point="8,11" />
  37. <LineSegment Point="6.5,11" />
  38. <LineSegment Point="6.5,2" />
  39. <LineSegment Point="8,2" />
  40. <LineSegment Point="6.5,0" />
  41. </PathFigure.Segments>
  42. </PathFigure>
  43. </PathFigureCollection>
  44. </PathGeometry.Figures>
  45. </PathGeometry>
  46. </Path.Data>
  47. </Path>
  48. </Grid>
  49. </Border>
  50. </UserControl>