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