| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <UserControl x:Class="MuchInfo.Chart.WPF.Controls.ValueScaling.ValueScaleBufferAdjuster"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
- <Grid x:Name="Layout"
- Background="Transparent"
- LostMouseCapture="Layout_LostMouseCapture"
- MouseEnter="Layout_MouseEnter"
- MouseLeave="Layout_MouseLeave"
- MouseLeftButtonDown="Layout_MouseLeftButtonDown"
- MouseLeftButtonUp="Layout_MouseLeftButtonUp"
- MouseMove="Layout_MouseMove">
- <Grid.ColumnDefinitions>
- <ColumnDefinition x:Name="FirstColumn" Width="*" />
- <ColumnDefinition Width="auto" />
- </Grid.ColumnDefinitions>
- <Line x:Name="CenterLine"
- Margin="0,2,0,2"
- Stroke="gray"
- StrokeDashArray="4,10"
- StrokeThickness="2"
- X1="0"
- X2="90"
- Y1="4"
- Y2="4" />
- <Path x:Name="AnchorPath"
- Grid.Column="1"
- Margin="0,2,0,2"
- VerticalAlignment="top"
- Fill="#FFCCCCCC"
- StrokeThickness="1">
- <Path.Data>
- <PathGeometry>
- <PathGeometry.Figures>
- <PathFigureCollection>
- <PathFigure StartPoint="0,4">
- <PathFigure.Segments>
- <LineSegment Point="6,0" />
- <LineSegment Point="6,8" />
- <LineSegment Point="0,4" />
- </PathFigure.Segments>
- </PathFigure>
- </PathFigureCollection>
- </PathGeometry.Figures>
- </PathGeometry>
- </Path.Data>
- </Path>
- </Grid>
- </UserControl>
|