1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <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="320"
- Height="208"
- d:DataContext="{d:DesignInstance Type=pageeditdialogs:ExtractDialogViewModel}"
- d:DesignHeight="450"
- d:DesignWidth="800"
- prism:Dialog.WindowStyle="{StaticResource DialogWindowStyle}"
- prism:ViewModelLocator.AutoWireViewModel="True"
- mc:Ignorable="d">
- <cus:DialogContent Header="提取页面">
- <cus:DialogContent.Content>
- <StackPanel
- Grid.Row="1"
- Margin="16,0"
- HorizontalAlignment="Center">
- <CheckBox
- Margin="0,18"
- VerticalAlignment="Center"
- Content="每个页面作为单独页面"
- FontSize="14"
- IsChecked="{Binding Model.IsEveryPageToFile, Mode=TwoWay}" />
- <CheckBox
- Content="提取后删除页面"
- FontSize="14"
- 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="提取" />
- <Button
- Width="98"
- Height="32"
- Margin="16,0"
- HorizontalAlignment="Right"
- Command="{Binding CancelCommand}"
- Content="取消" />
- </Grid>
- </cus:DialogContent.BottmBar>
- </cus:DialogContent>
- </UserControl>
|