Buffer.xaml 1.9 KB

123456789101112131415161718192021222324252627282930313233
  1. <UserControl x:Class="EfemUI.Controls.Buffer"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:EfemUI.Controls"
  7. mc:Ignorable="d"
  8. d:DesignHeight="100" d:DesignWidth="100">
  9. <Grid>
  10. <Rectangle Width="94" Height="94" RadiusX="5" RadiusY="5" Canvas.Left="27" Canvas.Top="27" Stroke="Gray" StrokeThickness="1.5" HorizontalAlignment="Center" VerticalAlignment="Top">
  11. <Rectangle.Fill>
  12. <LinearGradientBrush StartPoint="1,0" EndPoint="0,1">
  13. <GradientStop Offset="0" Color="#898989"/>
  14. <GradientStop Offset="0.3" Color="#e3e2e2"/>
  15. <GradientStop Offset="0.5" Color="#b0adad"/>
  16. <GradientStop Offset="0.7" Color="#e3e2e2"/>
  17. <GradientStop Offset="1" Color="#898989"/>
  18. </LinearGradientBrush>
  19. </Rectangle.Fill>
  20. </Rectangle>
  21. <Ellipse Width="80" Height="80" Canvas.Left="29" Canvas.Top="29" Fill="White" Stroke="#898989" StrokeThickness="2" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,7,0,0"/>
  22. <Ellipse Width="70" Height="70" Canvas.Left="34" Canvas.Top="34" Stroke="#898989" StrokeThickness="1" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,12,0,0">
  23. <Ellipse.Fill>
  24. <LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
  25. <GradientStop Offset="0" Color="Gray"/>
  26. <GradientStop Offset="0.5" Color="White"/>
  27. <GradientStop Offset="1" Color="Gray"/>
  28. </LinearGradientBrush>
  29. </Ellipse.Fill>
  30. </Ellipse>
  31. </Grid>
  32. </UserControl>