终端一体化运控平台
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 

54 satır
2.3 KiB

  1. <UserControl
  2. x:Class="BPASmartClient.CustomResource.UserControls.PipeLineTR"
  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="0,-100">
  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.Left="23"
  35. Canvas.Bottom="23"
  36. Width="150"
  37. Height="150"
  38. HorizontalAlignment="Left"
  39. VerticalAlignment="Center"
  40. Opacity="0.8"
  41. Stroke="{Binding LineBrush, RelativeSource={RelativeSource AncestorType=UserControl, Mode=FindAncestor}}"
  42. StrokeDashArray="2 4"
  43. StrokeDashCap="Round"
  44. StrokeEndLineCap="Round"
  45. Visibility="Collapsed"
  46. StrokeStartLineCap="Round"
  47. StrokeThickness="4" />
  48. </Canvas>
  49. </Viewbox>
  50. </Grid>
  51. </UserControl>