HomePagePrinterModMultipleContent.xaml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <UserControl x:Class="PDF_Office.Views.Dialog.HomePageToolsDialogs.HomePagePrinter.HomePagePrinterModMultipleContent"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:prism="http://prismlibrary.com/"
  5. prism:ViewModelLocator.AutoWireViewModel="True"
  6. xmlns:cus="clr-namespace:PDF_Office.CustomControl"
  7. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9. xmlns:homepageprinter="clr-namespace:PDF_Office.ViewModels.Dialog.HomePageToolsDialogs.HomePagePrinter"
  10. d:DataContext="{d:DesignInstance Type=homepageprinter:HomePagePrinterModMultipleContentViewModel}"
  11. mc:Ignorable="d"
  12. d:DesignHeight="180"
  13. d:DesignWidth="600">
  14. <Grid Height="120" VerticalAlignment="Top">
  15. <Grid.RowDefinitions>
  16. <RowDefinition Height="1*"></RowDefinition>
  17. <RowDefinition Height="1*"></RowDefinition>
  18. <RowDefinition Height="1*"></RowDefinition>
  19. </Grid.RowDefinitions>
  20. <StackPanel Grid.Row="0" Orientation="Horizontal">
  21. <TextBlock Text="每张纸显示的页数:" VerticalAlignment="Center" Margin="0,0,5,0"></TextBlock>
  22. <ComboBox Height="32" Width="113" ItemsSource="{Binding PageMatrixList}" SelectedIndex="{Binding PageMatrixIndex}"></ComboBox>
  23. <StackPanel Grid.Row="0" Orientation="Horizontal" IsEnabled="{Binding EnableCustomiseMatrix, Mode=OneWay}">
  24. <TextBox Height="32" Width="53" Margin="16,0,11,0" Text="{Binding HorizontalPageNumber, Mode=TwoWay}"></TextBox>
  25. <TextBlock Text="X" VerticalAlignment="Center"></TextBlock>
  26. <TextBox Height="32" Width="53" Margin="11,0,0,0" Text="{Binding VerticalPageNumber, Mode=TwoWay}"></TextBox>
  27. </StackPanel>
  28. </StackPanel>
  29. <StackPanel Grid.Row="1" Orientation="Horizontal">
  30. <TextBlock Text="页面顺序:" VerticalAlignment="Center" Margin="0,0,61,0"></TextBlock>
  31. <ComboBox Height="32" Width="265" ItemsSource="{Binding PageOrderList}" SelectedIndex="{Binding PageOrderIndex}"></ComboBox>
  32. </StackPanel>
  33. <StackPanel Grid.Row="2" Orientation="Horizontal">
  34. <CheckBox VerticalAlignment="Center"></CheckBox>
  35. <TextBlock VerticalAlignment="Center" Margin="11" Text="自动旋转每张纸中的页面"></TextBlock>
  36. </StackPanel>
  37. </Grid>
  38. </UserControl>