HomePagePrinterPageSetDialog.xaml 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <UserControl x:Class="PDF_Office.Views.Dialog.HomePageToolsDialogs.HomePagePrinter.HomePagePrinterPageSetDialog"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:cus="clr-namespace:PDF_Office.CustomControl"
  7. xmlns:prism="http://prismlibrary.com/"
  8. prism:ViewModelLocator.AutoWireViewModel="True"
  9. d:DesignHeight="347"
  10. d:DesignWidth="371"
  11. mc:Ignorable="d">
  12. <Grid>
  13. <Grid.RowDefinitions>
  14. <RowDefinition Height="48"></RowDefinition>
  15. <RowDefinition Height="*"></RowDefinition>
  16. <RowDefinition Height="64"></RowDefinition>
  17. </Grid.RowDefinitions>
  18. <TextBlock Grid.Row="0" Text="提取" FontSize="20" FontWeight="ExtraBlack" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="20,0,0,0" Height="28" Width="120"/>
  19. <Border Grid.Row="1" BorderBrush="Gray" BorderThickness="0,1,0,1" VerticalAlignment="Center" Height="235">
  20. <Grid>
  21. <Grid.RowDefinitions>
  22. <RowDefinition Height="1*"></RowDefinition>
  23. <RowDefinition Height="2*"></RowDefinition>
  24. </Grid.RowDefinitions>
  25. <StackPanel Grid.Row="0">
  26. <TextBlock Text="纸张" FontWeight="ExtraBlack" Width="56" Height="22" HorizontalAlignment="Left"/>
  27. <StackPanel Orientation="Horizontal">
  28. <TextBlock Text="大小: " VerticalAlignment="Center"></TextBlock>
  29. <ComboBox Width="281" Height="32" Margin="16,0,0,0"></ComboBox>
  30. </StackPanel>
  31. </StackPanel>
  32. <StackPanel Grid.Row="1" Margin="0,20,0,0">
  33. <TextBlock Text="页边距" FontWeight="ExtraBlack" Width="56" Height="22" HorizontalAlignment="Left"/>
  34. <StackPanel Orientation="Horizontal">
  35. <StackPanel Orientation="Horizontal">
  36. <TextBlock Text="上: " VerticalAlignment="Center"></TextBlock>
  37. <cus:NumericUpDown Margin="30,0,0,0"></cus:NumericUpDown>
  38. </StackPanel>
  39. <StackPanel Orientation="Horizontal" Margin="71,0,0,0">
  40. <TextBlock Text="下: " VerticalAlignment="Center" ></TextBlock>
  41. <cus:NumericUpDown Margin="30,0,0,0"></cus:NumericUpDown>
  42. </StackPanel>
  43. </StackPanel>
  44. <StackPanel Orientation="Horizontal">
  45. <StackPanel Orientation="Horizontal">
  46. <TextBlock Text="左: " VerticalAlignment="Center"></TextBlock>
  47. <cus:NumericUpDown Margin="30,0,0,0"></cus:NumericUpDown>
  48. </StackPanel>
  49. <StackPanel Orientation="Horizontal" Margin="71,0,0,0">
  50. <TextBlock Text="右: " VerticalAlignment="Center"></TextBlock>
  51. <cus:NumericUpDown Margin="30,0,0,0"></cus:NumericUpDown>
  52. </StackPanel>
  53. </StackPanel>
  54. </StackPanel>
  55. </Grid>
  56. </Border>
  57. </Grid>
  58. </UserControl>