ColorDropBox.xaml 1.2 KB

12345678910111213141516171819202122232425
  1. <UserControl x:Class="PDF_Office.CustomControl.ColorDropBox"
  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:PDF_Office.CustomControl"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800" MinWidth="0" Background="#01000000">
  9. <Grid>
  10. <Ellipse Width="20" Height="20" HorizontalAlignment="Center" VerticalAlignment="Center">
  11. <Ellipse.Fill>
  12. <DrawingBrush>
  13. <DrawingBrush.Drawing>
  14. <ImageDrawing ImageSource="../Resources/PropertyPanel/colorIcon.png">
  15. <ImageDrawing.Rect>
  16. <Rect Width="16" Height="16"></Rect>
  17. </ImageDrawing.Rect>
  18. </ImageDrawing>
  19. </DrawingBrush.Drawing>
  20. </DrawingBrush>
  21. </Ellipse.Fill>
  22. </Ellipse>
  23. </Grid>
  24. </UserControl>