CPDFDrawModeUI.xaml 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <UserControl x:Class="Compdfkit_Tools.PDFControlUI.CPDFDrawModeUI"
  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. mc:Ignorable="d"
  7. d:DesignHeight="30" d:DesignWidth="210">
  8. <UserControl.Resources>
  9. <ResourceDictionary>
  10. <ResourceDictionary.MergedDictionaries>
  11. <ResourceDictionary Source="../../../Asset/Styles/ButtonStyle.xaml"></ResourceDictionary>
  12. <ResourceDictionary Source="../../../Asset/Styles/ToggleButtonStyle.xaml"></ResourceDictionary>
  13. </ResourceDictionary.MergedDictionaries>
  14. </ResourceDictionary>
  15. </UserControl.Resources>
  16. <Grid>
  17. <Grid.RowDefinitions>
  18. <RowDefinition Height="auto"></RowDefinition>
  19. <RowDefinition Height="auto"></RowDefinition>
  20. </Grid.RowDefinitions>
  21. <TextBlock Foreground="#43474D" FontSize="14" LineHeight="16" Margin="0,0,0,18">Themes</TextBlock>
  22. <StackPanel Grid.Row="1" Orientation="Horizontal">
  23. <Button BorderThickness="0" Background="Transparent" Style="{StaticResource RoundButtonStyle}" Click="DrawModeNormal_Click">
  24. <Button.Content>
  25. <Ellipse Name="NormalTheme" Fill="White" Width="24" Height="24" StrokeThickness="1" Stroke="#E2E3E6"></Ellipse>
  26. </Button.Content>
  27. </Button>
  28. <Button BorderThickness="0" Background="Transparent" Margin="12,0,0,0" Style="{StaticResource RoundButtonStyle}" Click="DrawModeSoft_Click">
  29. <Button.Content>
  30. <Ellipse Name="SoftTheme" Fill="#EEE8D8" Width="24" Height="24" StrokeThickness="1" Stroke="#E2E3E6"></Ellipse>
  31. </Button.Content>
  32. </Button>
  33. <Button BorderThickness="0" Background="Transparent" Margin="12,0,0,0" Style="{StaticResource RoundButtonStyle}" Click="DrawModeDark_Click">
  34. <Button.Content>
  35. <Ellipse Name="DarkTheme" Fill="Black" Width="24" Height="24" StrokeThickness="1" Stroke="#E2E3E6"></Ellipse>
  36. </Button.Content>
  37. </Button>
  38. <Button BorderThickness="0" Background="Transparent" Margin="12,0,0,0" Style="{StaticResource RoundButtonStyle}" Click="DrawModeGreen_Click">
  39. <Button.Content>
  40. <Ellipse Name="GreenTheme" Fill="#99CFA1" Width="24" Height="24" StrokeThickness="1" Stroke="#E2E3E6"></Ellipse>
  41. </Button.Content>
  42. </Button>
  43. <Button BorderThickness="0" Background="Transparent" Margin="12,0,0,0" Style="{StaticResource RoundButtonStyle}" Click="DrawModeOrange_Click">
  44. <Button.Content>
  45. <Ellipse Name="OrangeTheme" Fill="#FFE390" Width="24" Height="24" StrokeThickness="1" Stroke="#E2E3E6"></Ellipse>
  46. </Button.Content>
  47. </Button>
  48. <Button BorderThickness="0" Background="Transparent" Margin="12,0,0,0" Style="{StaticResource RoundButtonStyle}" Click="DrawModeLightBlue_Click">
  49. <Button.Content>
  50. <Ellipse Name="LightBlueTheme" Fill="#C1E6FF" Width="24" Height="24" StrokeThickness="1" Stroke="#E2E3E6"></Ellipse>
  51. </Button.Content>
  52. </Button>
  53. </StackPanel>
  54. </Grid>
  55. </UserControl>