CPDFImageFlipUI.xaml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <UserControl x:Class="Compdfkit_Tools.Edit.CPDFImageFlipUI"
  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:Compdfkit_Tools.Edit"
  7. mc:Ignorable="d"
  8. d:DesignHeight="150" d:DesignWidth="300">
  9. <UserControl.Resources>
  10. <ResourceDictionary>
  11. <ResourceDictionary.MergedDictionaries>
  12. <ResourceDictionary Source="../../../Asset/Styles/ButtonStyle.xaml"></ResourceDictionary>
  13. </ResourceDictionary.MergedDictionaries>
  14. </ResourceDictionary>
  15. </UserControl.Resources>
  16. <StackPanel Name="ImageFlipUI">
  17. <Grid>
  18. <TextBlock VerticalAlignment="Center" Margin="0,10,10,0" FontSize="14" Foreground="#43474D">Flip</TextBlock>
  19. </Grid>
  20. <StackPanel Margin="0,14,0,0" Orientation="Horizontal">
  21. <Button Padding="0,5,0,5" Width="50" BorderThickness="1" Click="FlipHorizontal_Click" Style="{StaticResource LightButtonStyle}" Background="White" BorderBrush="#1A000000">
  22. <Button.Content>
  23. <Path Fill="#43474D">
  24. <Path.Data>
  25. M7.52941 13.5H0L7.52941 0.5V13.5ZM9.47059 12.5H14.2652L9.47059 4.2218V12.5ZM16 13.5H14.8444H9.47059H8.47059V12.5V2.49524V0.5L9.47059 2.22656L15.4208 12.5L16 13.5Z
  26. </Path.Data>
  27. </Path>
  28. </Button.Content>
  29. </Button>
  30. <Button Padding="0,5,0,5" Width="50" BorderThickness="1" Click="FlipVertical_Click" Style="{StaticResource LightButtonStyle}" Background="White" BorderBrush="#1A000000">
  31. <Path Fill="#43474D">
  32. <Path.Data>
  33. M15.5 7.5H13.1353H1.5H0.5V6.5V1.60353V0.5L1.5 0.966667L13.3571 6.5L15.5 7.5ZM10.9924 6.5H1.5V2.0702L10.9924 6.5ZM15.5 8.5H0.5V15.5L15.5 8.5Z
  34. </Path.Data>
  35. </Path>
  36. </Button>
  37. </StackPanel>
  38. </StackPanel>
  39. </UserControl>