ValueScaleDisplayCollection.xaml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <UserControl x:Class="MuchInfo.Chart.WPF.Controls.ValueScaling.ValueScaleDisplayCollection"
  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. <Grid x:Name="LayoutRoot">
  7. <StackPanel x:Name="stackMain"
  8. HorizontalAlignment="Stretch"
  9. Orientation="Horizontal" />
  10. <Border x:Name="borderControls"
  11. Height="16"
  12. HorizontalAlignment="Stretch"
  13. VerticalAlignment="Bottom"
  14. Background="Transparent"
  15. MouseEnter="borderControls_MouseEnter"
  16. MouseLeave="borderControls_MouseLeave">
  17. <Border x:Name="borderRight"
  18. HorizontalAlignment="Right"
  19. VerticalAlignment="Bottom"
  20. Background="DimGray"
  21. BorderBrush="DarkGray"
  22. BorderThickness="1"
  23. CornerRadius="4"
  24. MouseEnter="borderRight_MouseEnter"
  25. MouseLeave="borderRight_MouseLeave"
  26. MouseLeftButtonDown="borderRight_MouseLeftButtonDown"
  27. Opacity=".5"
  28. Padding="6,2,3,0">
  29. <Grid>
  30. <Line Stroke="White"
  31. StrokeEndLineCap="Triangle"
  32. StrokeStartLineCap="Triangle"
  33. StrokeThickness="3"
  34. X1="0"
  35. X2="5"
  36. Y1="0"
  37. Y2="4" />
  38. <Line Stroke="White"
  39. StrokeEndLineCap="Triangle"
  40. StrokeStartLineCap="Triangle"
  41. StrokeThickness="3"
  42. X1="5"
  43. X2="0"
  44. Y1="4"
  45. Y2="8" />
  46. </Grid>
  47. </Border>
  48. </Border>
  49. </Grid>
  50. </UserControl>