CompressDialog.xaml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <UserControl x:Class="PDF_Office.Views.Dialog.ToolsDialogs.CompressDialog"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:prism="http://prismlibrary.com/"
  7. prism:ViewModelLocator.AutoWireViewModel="True"
  8. d:DesignHeight="500"
  9. d:DesignWidth="600"
  10. mc:Ignorable="d">
  11. <Grid >
  12. <Grid.RowDefinitions>
  13. <RowDefinition Name="HeadRow" Height="40" />
  14. <RowDefinition Height="*"/>
  15. <RowDefinition Height="65" />
  16. </Grid.RowDefinitions>
  17. <TextBlock Grid.Row="0" Text="压缩PDF" FontSize="20" FontWeight="ExtraBlack" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="20,0,0,0" Height="28" Width="120"/>
  18. <Border Grid.Row="1" BorderBrush="Gray" BorderThickness="0,1,0,1">
  19. <StackPanel>
  20. <Button HorizontalAlignment="Center" Width="528" Height="64" Margin="0,10,0,16" Background="WhiteSmoke">
  21. <StackPanel Orientation="Horizontal" >
  22. <Border HorizontalAlignment="Right" Margin="0,0,350,0">
  23. <TextBlock Text="大型文件" FontSize="18"></TextBlock>
  24. </Border>
  25. <Border>
  26. <Path VerticalAlignment="Center" HorizontalAlignment="Center" Stroke="Black" Data="M0 0L4 4 L12 -3" Height="10" Stretch="Fill"/>
  27. </Border>
  28. </StackPanel>
  29. </Button>
  30. <Button HorizontalAlignment="Center" Width="528" Height="64" Margin="0,0,0,16" Background="WhiteSmoke">
  31. <StackPanel Orientation="Horizontal" >
  32. <Border HorizontalAlignment="Right" Margin="0,0,350,0">
  33. <TextBlock Text="标准文件" FontSize="18" Foreground="Black" ></TextBlock>
  34. </Border>
  35. <Border>
  36. <Path VerticalAlignment="Center" HorizontalAlignment="Center" Stroke="Black" Data="M0 0L4 4 L12 -3" Height="10" Stretch="Fill"/>
  37. </Border>
  38. </StackPanel>
  39. </Button>
  40. <Button HorizontalAlignment="Center" Width="528" Height="64" Margin="0,0,0,16" Background="WhiteSmoke">
  41. <StackPanel Orientation="Horizontal" >
  42. <Border HorizontalAlignment="Right" Margin="0,0,280,0">
  43. <TextBlock Text="小型文件(推荐)" FontSize="18" Foreground="Black"></TextBlock>
  44. </Border>
  45. <Border>
  46. <Path VerticalAlignment="Center" HorizontalAlignment="Center" Stroke="Black" Data="M0 0L4 4 L12 -3" Height="10" Stretch="Fill"/>
  47. </Border>
  48. </StackPanel>
  49. </Button>
  50. <Button HorizontalAlignment="Center" Width="528" Height="64" Margin="0,0,0,64" Background="WhiteSmoke">
  51. <StackPanel Orientation="Horizontal" >
  52. <Border HorizontalAlignment="Right" Margin="0,0,350,0">
  53. <TextBlock Text="微型文件" FontSize="18" Foreground="Black"></TextBlock>
  54. </Border>
  55. <Border>
  56. <Path VerticalAlignment="Center" HorizontalAlignment="Center" Stroke="Black" Data="M0 0L4 4 L12 -3" Height="10" Stretch="Fill"/>
  57. </Border>
  58. </StackPanel>
  59. </Button>
  60. </StackPanel>
  61. </Border>
  62. <Grid Grid.Row="2" Width="568" VerticalAlignment="Center">
  63. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
  64. <Button Background="WhiteSmoke" Width="100" Height="25" Margin="10,0,0,0">
  65. <Border>
  66. <TextBlock Text="批量处理" ></TextBlock>
  67. </Border>
  68. </Button>
  69. </StackPanel>
  70. <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
  71. <Button Background="WhiteSmoke" Width="100" Height="25" Margin="0,0,10,0">
  72. <Border>
  73. <TextBlock Text="压缩"></TextBlock>
  74. </Border>
  75. </Button>
  76. <Button Background="WhiteSmoke" Width="100" Height="25" Margin="0,0,10,0">
  77. <Border>
  78. <TextBlock Text="取消" ></TextBlock>
  79. </Border>
  80. </Button>
  81. </StackPanel>
  82. </Grid>
  83. </Grid>
  84. </UserControl>