|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <UserControl
- x:Class="BPASmartClient.CustomResource.UserControls.PipeLineTL"
- 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:local="clr-namespace:BPASmartClient.CustomResource.UserControls"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- d:DesignHeight="100"
- d:DesignWidth="100"
- mc:Ignorable="d">
- <Grid Name="gr">
- <Viewbox Width="auto" Height="auto">
- <Canvas
- Width="100"
- Height="100"
- ClipToBounds="True">
- <Ellipse
- Name="ell"
- Width="200"
- Height="200"
- Margin="-100">
- <Ellipse.Fill>
- <RadialGradientBrush GradientOrigin="0.5,0.5">
- <GradientStop Offset="0" Color="Transparent" />
- <GradientStop Offset="0.5" Color="Transparent" />
- <GradientStop Offset="0.5" Color="{Binding Fill, RelativeSource={RelativeSource AncestorType=UserControl, Mode=FindAncestor}}" />
- <GradientStop Offset="0.75" Color="Snow" />
- <GradientStop Offset="1" Color="{Binding Fill, RelativeSource={RelativeSource AncestorType=UserControl, Mode=FindAncestor}}" />
- </RadialGradientBrush>
- </Ellipse.Fill>
- </Ellipse>
-
- <Ellipse
- Name="mp"
- Canvas.Right="21"
- Canvas.Bottom="21"
- Width="150"
- Height="150"
- Visibility="Collapsed"
- Opacity="0.8"
- Stroke="{Binding LineBrush, RelativeSource={RelativeSource AncestorType=UserControl, Mode=FindAncestor}}"
- StrokeDashArray="2 4"
- StrokeDashCap="Round"
- StrokeEndLineCap="Round"
- StrokeStartLineCap="Round"
- StrokeThickness="4" />
- </Canvas>
- </Viewbox>
- </Grid>
- </UserControl>
|