123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <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/"
- 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="提取页面">
- <cus:DialogContent.Content>
- <StackPanel
- Margin="16,0"
- HorizontalAlignment="Left">
- <CheckBox
- Margin="0,8"
- VerticalAlignment="Center"
- Content="每个页面作为单独页面"
- FontFamily="Segoe UI"
- FontSize="14"
- IsChecked="{Binding Model.IsEveryPageToFile, Mode=TwoWay}" />
- <CheckBox
- Content="提取后删除页面"
- 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="提取"
- Style="{StaticResource Btn.cta}" />
- <Button
- Width="98"
- Height="32"
- Margin="16,0"
- HorizontalAlignment="Right"
- Command="{Binding CancelCommand}"
- Content="取消"
- Style="{StaticResource btn.sec}" />
- </Grid>
- </cus:DialogContent.BottmBar>
- </cus:DialogContent>
- </UserControl>
|