|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <UserControl
- x:Class="BPASmartClient.CustomResource.UserControls.PipeLineBL"
- 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,0">
- <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.Top="21"
- Canvas.Right="21"
- Width="150"
- Height="150"
- HorizontalAlignment="Center"
- VerticalAlignment="Top"
- Opacity="0.8"
- Visibility="Collapsed"
- Stroke="{Binding LineBrush, RelativeSource={RelativeSource AncestorType=UserControl, Mode=FindAncestor}}"
- StrokeDashArray="2 4"
- StrokeDashCap="Round"
- StrokeEndLineCap="Round"
- StrokeStartLineCap="Round"
- StrokeThickness="4" />
-
- </Canvas>
- </Viewbox>
-
- </Grid>
- </UserControl>
|