RepeatMarkDialog.xaml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <UserControl
  2. x:Class="PDF_Office.Views.Dialog.Redaction.RepeatMarkDialog"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:cus="clr-namespace:PDF_Office.CustomControl"
  6. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. xmlns:prism="http://prismlibrary.com/"
  9. Width="432"
  10. Height="236"
  11. d:DesignHeight="450"
  12. d:DesignWidth="800"
  13. prism:Dialog.WindowStyle="{StaticResource DialogWindowStyle}"
  14. prism:ViewModelLocator.AutoWireViewModel="True"
  15. Background="{StaticResource color.sys.layout.anti}"
  16. mc:Ignorable="d">
  17. <cus:DialogContent Header="Reapet Mark Across Pages">
  18. <StackPanel Margin="16,0">
  19. <RadioButton
  20. Height="22"
  21. VerticalContentAlignment="Center"
  22. Content="All Pages"
  23. GroupName="Page"
  24. IsChecked="True" />
  25. <RadioButton
  26. Height="22"
  27. Margin="0,8"
  28. VerticalContentAlignment="Center"
  29. Content="Odd Pages"
  30. GroupName="Page" />
  31. <RadioButton
  32. Height="22"
  33. VerticalContentAlignment="Center"
  34. Content="Even Pages"
  35. GroupName="Page" />
  36. <StackPanel
  37. Margin="0,8"
  38. HorizontalAlignment="Left"
  39. VerticalAlignment="Center"
  40. Orientation="Horizontal">
  41. <RadioButton
  42. Name="RbtnCustomPage"
  43. Height="22"
  44. VerticalContentAlignment="Center"
  45. Content="Custom"
  46. GroupName="Page" />
  47. <cus:TextBoxEx
  48. Width="228"
  49. Height="32"
  50. Margin="8,0,0,0"
  51. CornerRadius="4"
  52. IsEnabled="{Binding ElementName=RbtnCustomPage, Path=IsChecked}"
  53. PlaceholderText="e.g. 1,3-5,10" />
  54. <TextBlock
  55. Margin="8,0,0,0"
  56. VerticalAlignment="Center"
  57. Text="/" />
  58. </StackPanel>
  59. </StackPanel>
  60. <cus:DialogContent.BottmBar>
  61. <StackPanel
  62. Margin="16,0"
  63. HorizontalAlignment="Right"
  64. Orientation="Horizontal">
  65. <Button
  66. Width="80"
  67. Height="32"
  68. Content="Apply"
  69. Style="{StaticResource Btn.cta}" />
  70. <Button
  71. Width="80"
  72. Height="32"
  73. Margin="16,0,0,0"
  74. Content="Cancel"
  75. Style="{StaticResource btn.sec}" />
  76. </StackPanel>
  77. </cus:DialogContent.BottmBar>
  78. </cus:DialogContent>
  79. </UserControl>