DrawingSelectionGrab.xaml 1.0 KB

1234567891011121314151617181920
  1. <UserControl x:Class="MuchInfo.Chart.WPF.Controls.Drawing.DrawingSelectionGrab"
  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. <Line x:Name="mSelectionLine"
  8. IsHitTestVisible="True"
  9. LostMouseCapture="mSelectionLine_LostMouseCapture"
  10. MouseEnter="mSelectionLine_MouseEnter"
  11. MouseLeave="mSelectionLine_MouseLeave"
  12. MouseLeftButtonDown="mSelectionLine_MouseLeftButtonDown"
  13. MouseLeftButtonUp="mSelectionLine_MouseLeftButtonUp"
  14. MouseMove="mSelectionLine_MouseMove"
  15. MouseRightButtonUp="mSelectionLine_MouseRightButtonUp"
  16. Stroke="Transparent"
  17. StrokeEndLineCap="Round"
  18. StrokeStartLineCap="Round"
  19. StrokeThickness="14" />
  20. </UserControl>