12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- <UserControl
- x:Class="PDF_Office.Views.Dialog.Redaction.RepeatMarkDialog"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:cus="clr-namespace:PDF_Office.CustomControl"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:prism="http://prismlibrary.com/"
- xmlns:redaction="clr-namespace:PDF_Office.ViewModels.Dialog.Redaction"
- Width="432"
- Height="236"
- d:DataContext="{d:DesignInstance Type=redaction:RepeatMarkDialogViewModel}"
- d:DesignHeight="450"
- d:DesignWidth="800"
- prism:Dialog.WindowStyle="{StaticResource DialogWindowStyle}"
- prism:ViewModelLocator.AutoWireViewModel="True"
- Background="{StaticResource color.sys.layout.anti}"
- mc:Ignorable="d">
- <cus:DialogContent Header="Reapet Mark Across Pages">
- <StackPanel Margin="16,0">
- <RadioButton
- Height="22"
- VerticalContentAlignment="Center"
- Command="{Binding CheckedCommand}"
- CommandParameter="All"
- Content="All Pages"
- GroupName="Page"
- IsChecked="True" />
- <RadioButton
- Height="22"
- Margin="0,8"
- VerticalContentAlignment="Center"
- Command="{Binding CheckedCommand}"
- CommandParameter="Odd"
- Content="Odd Pages"
- GroupName="Page" />
- <RadioButton
- Height="22"
- VerticalContentAlignment="Center"
- Command="{Binding CheckedCommand}"
- CommandParameter="Even"
- Content="Even Pages"
- GroupName="Page" />
- <StackPanel
- Margin="0,7"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Orientation="Horizontal">
- <RadioButton
- Name="RbtnCustomPage"
- Height="22"
- VerticalContentAlignment="Center"
- Command="{Binding CheckedCommand}"
- CommandParameter="Custom"
- Content="Custom"
- GroupName="Page" />
- <cus:TextBoxEx
- Width="228"
- Height="32"
- Margin="8,0,0,0"
- CornerRadius="4"
- IsEnabled="{Binding ElementName=RbtnCustomPage, Path=IsChecked}"
- PlaceholderText="e.g. 1,3-5,10"
- PreviewKeyDown="TextBoxEx_PreviewKeyDown"
- Text="{Binding InputString, Mode=TwoWay, UpdateSourceTrigger=LostFocus}" />
- <TextBlock
- Name="TbSeparator"
- Margin="8,0,0,0"
- VerticalAlignment="Center"
- FocusVisualStyle="{x:Null}"
- Text="/ " />
- <TextBlock VerticalAlignment="Center" Text="{Binding PageCount}" />
- </StackPanel>
- </StackPanel>
- <cus:DialogContent.BottmBar>
- <StackPanel
- Margin="16,0"
- HorizontalAlignment="Right"
- Orientation="Horizontal">
- <Button
- Width="80"
- Height="32"
- Command="{Binding OkCommand}"
- Content="Apply"
- Style="{StaticResource Btn.cta}" />
- <Button
- Width="80"
- Height="32"
- Margin="16,0,0,0"
- Command="{Binding CancelCommand}"
- Content="Cancel"
- Style="{StaticResource btn.sec}" />
- </StackPanel>
- </cus:DialogContent.BottmBar>
- </cus:DialogContent>
- </UserControl>
|