终端一体化运控平台
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

55 řádky
2.3 KiB

  1. <UserControl
  2. x:Class="BPASmartClient.CustomResource.UserControls.PipeLineBL"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:BPASmartClient.CustomResource.UserControls"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. d:DesignHeight="100"
  9. d:DesignWidth="100"
  10. mc:Ignorable="d">
  11. <Grid Name="gr">
  12. <Viewbox Width="auto" Height="auto">
  13. <Canvas
  14. Width="100"
  15. Height="100"
  16. ClipToBounds="True">
  17. <Ellipse
  18. Name="ell"
  19. Width="200"
  20. Height="200"
  21. Margin="-100,0">
  22. <Ellipse.Fill>
  23. <RadialGradientBrush GradientOrigin="0.5,0.5">
  24. <GradientStop Offset="0" Color="Transparent" />
  25. <GradientStop Offset="0.5" Color="Transparent" />
  26. <GradientStop Offset="0.5" Color="{Binding Fill, RelativeSource={RelativeSource AncestorType=UserControl, Mode=FindAncestor}}" />
  27. <GradientStop Offset="0.75" Color="Snow" />
  28. <GradientStop Offset="1" Color="{Binding Fill, RelativeSource={RelativeSource AncestorType=UserControl, Mode=FindAncestor}}" />
  29. </RadialGradientBrush>
  30. </Ellipse.Fill>
  31. </Ellipse>
  32. <Ellipse
  33. Name="mp"
  34. Canvas.Top="21"
  35. Canvas.Right="21"
  36. Width="150"
  37. Height="150"
  38. HorizontalAlignment="Center"
  39. VerticalAlignment="Top"
  40. Opacity="0.8"
  41. Visibility="Collapsed"
  42. Stroke="{Binding LineBrush, RelativeSource={RelativeSource AncestorType=UserControl, Mode=FindAncestor}}"
  43. StrokeDashArray="2 4"
  44. StrokeDashCap="Round"
  45. StrokeEndLineCap="Round"
  46. StrokeStartLineCap="Round"
  47. StrokeThickness="4" />
  48. </Canvas>
  49. </Viewbox>
  50. </Grid>
  51. </UserControl>