| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <UserControl x:Class="MuchInfo.Chart.WPF.Controls.DateScaling.DateMarginSplitter"
- 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="theBorder"
- Margin="3,0,3,0"
- Background="Transparent"
- LostMouseCapture="theBorder_LostMouseCapture"
- MouseEnter="theBorder_MouseEnter"
- MouseLeave="theBorder_MouseLeave"
- MouseLeftButtonDown="theBorder_MouseLeftButtonDown"
- MouseLeftButtonUp="theBorder_MouseLeftButtonUp"
- MouseMove="theBorder_MouseMove">
- <Grid.RowDefinitions>
- <RowDefinition Height="auto" />
- <RowDefinition x:Name="lineRowDef" Height="*" />
- <RowDefinition Height="auto" />
- </Grid.RowDefinitions>
- <Line x:Name="centerLine"
- Grid.Row="1"
- Margin="3,0,3,0"
- HorizontalAlignment="Center"
- Stroke="gray"
- StrokeDashArray="4,10"
- StrokeThickness="3"
- X1="0"
- X2="0"
- Y1="0"
- Y2="290" />
- <Path Grid.Row="2"
- Margin="3,0,3,0"
- Fill="#FFCCCCCC">
- <Path.Data>
- <PathGeometry>
- <PathGeometry.Figures>
- <PathFigureCollection>
- <PathFigure StartPoint="4,0">
- <PathFigure.Segments>
- <LineSegment Point="0,6" />
- <LineSegment Point="8,6" />
- <LineSegment Point="4,0" />
- </PathFigure.Segments>
- </PathFigure>
- </PathFigureCollection>
- </PathGeometry.Figures>
- </PathGeometry>
- </Path.Data>
- </Path>
- <!--
- <Path Margin="3,0,3,0"
- Fill="#FFCCCCCC"
- Visibility="Visible">
- <Path.Data>
- <PathGeometry>
- <PathGeometry.Figures>
- <PathFigureCollection>
- <PathFigure StartPoint="4,8">
- <PathFigure.Segments>
- <LineSegment Point="0,0" />
- <LineSegment Point="8,0" />
- <LineSegment Point="4,8" />
- </PathFigure.Segments>
- </PathFigure>
-
- </PathFigureCollection>
- </PathGeometry.Figures>
- </PathGeometry>
- </Path.Data>
- </Path>
- -->
- </Grid>
- </UserControl>
|