1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <UserControl
- x:Class="PDF_Master.Views.Dialog.PageEditDialogs.ExtractDialog"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:cus="clr-namespace:PDF_Master.CustomControl"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:PDF_Master.Views.Dialog.PageEditDialogs"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:pageeditdialogs="clr-namespace:PDF_Master.ViewModels.Dialog.PageEditDialogs"
- xmlns:prism="http://prismlibrary.com/"
- xmlns:mainpage="clr-namespace:PDF_Master.Strings.MainPage"
- Width="432"
- Height="166"
- d:DataContext="{d:DesignInstance Type=pageeditdialogs:ExtractDialogViewModel}"
- d:DesignHeight="166"
- d:DesignWidth="432"
- prism:Dialog.WindowStyle="{StaticResource DialogWindowStyle}"
- prism:ViewModelLocator.AutoWireViewModel="True"
- mc:Ignorable="d">
- <cus:DialogContent Header="{ x:Static mainpage:MainPage.PageEdit_ExtractPage}">
- <cus:DialogContent.Content>
- <StackPanel
- Height="Auto"
- Margin="16,0,0,0"
- HorizontalAlignment="Left">
- <CheckBox
- VerticalAlignment="Center"
- Content="{ x:Static mainpage:MainPage.PageEdit_ExtractTip}"
- FontFamily="Segoe UI"
- FontSize="14"
- IsChecked="{Binding Model.IsEveryPageToFile, Mode=TwoWay}" />
- <CheckBox
- Margin="0,8"
- Content="{ x:Static mainpage:MainPage.PageEdit_ExtractDel}"
- FontFamily="Segoe UI"
- FontSize="14"
- IsEnabled="{Binding IsEnabledDeleteAfterExtract}"
- IsChecked="{Binding Model.IsDeleteAfterExtract, Mode=TwoWay}" />
- </StackPanel>
- </cus:DialogContent.Content>
- <cus:DialogContent.BottmBar>
- <Grid>
- <Button
- Width="98"
- Height="32"
- Margin="0,0,124,0"
- HorizontalAlignment="Right"
- Command="{Binding ExtractCommnad}"
- Content="{ x:Static mainpage:MainPage.PageEdit_Extract}"
- Style="{StaticResource Btn.cta}" />
- <Button
- Width="98"
- Height="32"
- Margin="16,0"
- HorizontalAlignment="Right"
- Command="{Binding CancelCommand}"
- Content="{ x:Static mainpage:MainPage.PageEdit_Cancel}"
- Style="{StaticResource btn.sec}" />
- </Grid>
- </cus:DialogContent.BottmBar>
- </cus:DialogContent>
- </UserControl>
|