HomePageBatchProcessingDialog.xaml 6.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <UserControl x:Class="PDF_Master.Views.Dialog.HomePageToolsDialogs.HomePageBatchProcessing.HomePageBatchProcessingDialog"
  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="600"
  9. d:DesignWidth="1024"
  10. MinWidth="1024"
  11. MinHeight="600"
  12. mc:Ignorable="d">
  13. <UserControl.Resources>
  14. <ResourceDictionary>
  15. <ResourceDictionary.MergedDictionaries>
  16. <ResourceDictionary Source="../../../../Styles/RadioButtonStyle.xaml"/>
  17. </ResourceDictionary.MergedDictionaries>
  18. </ResourceDictionary>
  19. </UserControl.Resources>
  20. <Grid>
  21. <Grid.ColumnDefinitions>
  22. <ColumnDefinition Width="206*"/>
  23. <ColumnDefinition Width="818*"/>
  24. </Grid.ColumnDefinitions>
  25. <StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Top" Height="600" Width="206">
  26. <RadioButton x:Name="ShiftingBtn" Style="{StaticResource BatchButton}" Tag="0" Width="190" Height="32" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=ShiftingBtn,Path=Tag}" Margin="0,8,0,0">
  27. <StackPanel Orientation="Horizontal" >
  28. <Label Background="Black" Width="16" Height="20" Margin="0,0,10,0"></Label>
  29. <TextBlock Text="Convert PDF" FontSize="14" Width="150" Height="22" FontFamily="Segoe UI" ></TextBlock>
  30. </StackPanel>
  31. </RadioButton>
  32. <RadioButton x:Name="CompressBtn" Tag="1" Width="190" Height="32" Style="{StaticResource BatchButton}" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=CompressBtn,Path=Tag}" Margin="0,16,0,0">
  33. <StackPanel Orientation="Horizontal" >
  34. <Label Background="Black" Width="16" Height="20" Margin="0,0,10,0"></Label>
  35. <TextBlock Text="Compress" FontSize="14" Width="150" Height="22"></TextBlock>
  36. </StackPanel>
  37. </RadioButton>
  38. <RadioButton x:Name="SecurityBtn" Tag="2" Width="190" Height="32" Style="{StaticResource BatchButton}" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=SecurityBtn,Path=Tag}" Margin="0,16,0,0">
  39. <StackPanel Orientation="Horizontal" >
  40. <Label Background="Black" Width="16" Height="20" Margin="0,0,10,0"></Label>
  41. <TextBlock Text="Security" FontSize="14" Width="150" Height="22"></TextBlock>
  42. </StackPanel>
  43. </RadioButton >
  44. <RadioButton x:Name="WatermarkBtn" Tag="3" Width="190" Height="32" Style="{StaticResource BatchButton}" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=WatermarkBtn,Path=Tag}" Margin="0,16,0,0">
  45. <StackPanel Orientation="Horizontal" >
  46. <Label Background="Black" Width="16" Height="20" Margin="0,0,10,0"></Label>
  47. <TextBlock Text="Watermark" FontSize="14" Width="150" Height="22"></TextBlock>
  48. </StackPanel>
  49. </RadioButton>
  50. <RadioButton x:Name="BackgroundBtn" Tag="4" Width="190" Height="32" Style="{StaticResource BatchButton}" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=BackgroundBtn,Path=Tag}" Margin="0,16,0,0">
  51. <StackPanel Orientation="Horizontal" >
  52. <Label Background="Black" Width="16" Height="20" Margin="0,0,10,0"></Label>
  53. <TextBlock Text="Background" FontSize="14" Width="150" Height="22"></TextBlock>
  54. </StackPanel>
  55. </RadioButton>
  56. <RadioButton x:Name="HeaderFooterBtn" Tag="5" Width="190" Height="32" Style="{StaticResource BatchButton}" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=HeaderFooterBtn,Path=Tag}" Margin="0,16,0,0">
  57. <StackPanel Orientation="Horizontal" >
  58. <Label Background="Black" Width="16" Height="20" Margin="0,0,10,0"></Label>
  59. <TextBlock Text="Header &amp; Footer" FontSize="14" Width="150" Height="22"></TextBlock>
  60. </StackPanel>
  61. </RadioButton>
  62. <RadioButton x:Name="BatesBtn" Tag="6" Width="190" Height="32" Style="{StaticResource BatchButton}" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=BatesBtn,Path=Tag}" Margin="0,16,0,0">
  63. <StackPanel Orientation="Horizontal" >
  64. <Label Background="Black" Width="16" Height="20" Margin="0,0,10,0"></Label>
  65. <TextBlock Text="Bates Number" FontSize="14" Width="150" Height="22"></TextBlock>
  66. </StackPanel>
  67. </RadioButton>
  68. <RadioButton x:Name="RemoveSecurityBtn" Tag="7" Width="190" Height="32" Style="{StaticResource BatchButton}" Command="{Binding DelegateChangeBatchProcessingCommand}" CommandParameter="{Binding ElementName=RemoveSecurityBtn,Path=Tag}" Margin="0,16,0,0">
  69. <StackPanel Orientation="Horizontal" >
  70. <Label Background="Black" Width="16" Height="20" Margin="0,0,10,0"></Label>
  71. <TextBlock Text="Batch Remove" FontSize="14" Width="150" Height="22"></TextBlock>
  72. </StackPanel>
  73. </RadioButton>
  74. </StackPanel>
  75. <ContentControl x:Name="PrintMod" prism:RegionManager.RegionName="{Binding BatchProcessingRegionName}" Visibility="{Binding BatchProcessingVisible}" Grid.Column="1" />
  76. </Grid>
  77. </UserControl>