BackgroundCreateFileContent.xaml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <UserControl x:Class="PDF_Office.Views.EditTools.Background.BackgroundCreateFileContent"
  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:d="http://schemas.microsoft.com/expression/blend/2008"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. mc:Ignorable="d"
  9. d:DesignHeight="632"
  10. d:DesignWidth="260">
  11. <UserControl.Resources>
  12. <ResourceDictionary>
  13. <ResourceDictionary.MergedDictionaries>
  14. <ResourceDictionary Source="../../../Styles/CheckBoxStyle.xaml"/>
  15. </ResourceDictionary.MergedDictionaries>
  16. </ResourceDictionary>
  17. </UserControl.Resources>
  18. <Grid Margin="16,0,0,0">
  19. <Grid.RowDefinitions>
  20. <RowDefinition Height="48"></RowDefinition>
  21. <RowDefinition Height="157"></RowDefinition>
  22. <RowDefinition Height="163"></RowDefinition>
  23. <RowDefinition Height="103"></RowDefinition>
  24. <RowDefinition></RowDefinition>
  25. </Grid.RowDefinitions>
  26. <Grid Grid.Row="0">
  27. <StackPanel Orientation="Horizontal" VerticalAlignment="Bottom">
  28. <TextBox Height="32" Width="189" Margin="0,0,7,0"></TextBox>
  29. <Button Height="32" Width="32"></Button>
  30. </StackPanel>
  31. </Grid>
  32. <Grid Grid.Row="1">
  33. <StackPanel Orientation="Vertical">
  34. <TextBlock Text="外观" Margin="0,16,0,8" Foreground="#666666"></TextBlock>
  35. <StackPanel Orientation="Horizontal">
  36. <TextBlock Height="24" Width="24" Background= "Bisque" Margin="0,0,8,0"></TextBlock>
  37. <ComboBox Height="32" Width=" 66" Margin="0,0,28,0"></ComboBox>
  38. <TextBlock Height="24" Width="24" Background="CadetBlue" Margin="0,0,8,0"></TextBlock>
  39. <ComboBox Height="32" Width=" 66"></ComboBox>
  40. </StackPanel>
  41. <StackPanel Orientation="Horizontal"></StackPanel>
  42. <Grid Margin="0,19,0,0">
  43. <Grid.ColumnDefinitions>
  44. <ColumnDefinition Width="30"></ColumnDefinition>
  45. <ColumnDefinition ></ColumnDefinition>
  46. </Grid.ColumnDefinitions>
  47. <CheckBox Grid.Column="0" Style="{StaticResource CheckBoxStyle}" Content="相对目标页面的比例" Margin="0,0,0,0" Height="22"></CheckBox>
  48. <TextBlock Grid.Column="1" Text="相对目标页面的比例" Height="22" ></TextBlock>
  49. </Grid>
  50. <ComboBox Height="32" Width="66" HorizontalAlignment="Left" Margin="0,11,0,0"></ComboBox>
  51. </StackPanel>
  52. </Grid>
  53. <Grid Grid.Row="2" Margin="0,16,0,0" VerticalAlignment="Bottom">
  54. <Grid.ColumnDefinitions>
  55. <ColumnDefinition Width="3*"/>
  56. <ColumnDefinition Width="241*"/>
  57. </Grid.ColumnDefinitions>
  58. <StackPanel Grid.ColumnSpan="2">
  59. <TextBlock Text="位置" FontSize="12" Foreground="#666666" Height="20" Width="24" HorizontalAlignment="Left"></TextBlock>
  60. <StackPanel Orientation="Horizontal" Margin="0,8,0,0">
  61. <Grid Width="74" Height="74">
  62. <Grid.ColumnDefinitions>
  63. <ColumnDefinition></ColumnDefinition>
  64. <ColumnDefinition></ColumnDefinition>
  65. <ColumnDefinition></ColumnDefinition>
  66. </Grid.ColumnDefinitions>
  67. <Grid.RowDefinitions>
  68. <RowDefinition></RowDefinition>
  69. <RowDefinition></RowDefinition>
  70. <RowDefinition></RowDefinition>
  71. </Grid.RowDefinitions>
  72. <Button Grid.Column="0" Grid.Row="0"></Button>
  73. <Button Grid.Column="1" Grid.Row="0"></Button>
  74. <Button Grid.Column="2" Grid.Row="0"></Button>
  75. <Button Grid.Column="0" Grid.Row="1"></Button>
  76. <Button Grid.Column="1" Grid.Row="1" Background="Black"></Button>
  77. <Button Grid.Column="2" Grid.Row="1"></Button>
  78. <Button Grid.Column="0" Grid.Row="2"></Button>
  79. <Button Grid.Column="1" Grid.Row="2"></Button>
  80. <Button Grid.Column="2" Grid.Row="2"></Button>
  81. </Grid>
  82. <StackPanel Orientation="Vertical" Margin="70,0,0,0">
  83. <StackPanel Orientation="Horizontal">
  84. <TextBlock Text="X" Width="9" Height="20" VerticalAlignment="Center"/>
  85. <TextBox Width="66" Height="32" Margin="9,0,0,0"></TextBox>
  86. </StackPanel>
  87. <StackPanel Orientation="Horizontal" Margin="0,8,0,0">
  88. <TextBlock Text="Y" Width="9" Height="20" VerticalAlignment="Center"/>
  89. <TextBox Width="66" Height="32" Margin="9,0,0,0"></TextBox>
  90. </StackPanel>
  91. </StackPanel>
  92. </StackPanel>
  93. </StackPanel>
  94. </Grid>
  95. <Grid Grid.Row="3" Margin="0,16,0,0" VerticalAlignment="Bottom">
  96. <StackPanel Orientation="Vertical">
  97. <TextBlock Text="页面范围" FontSize="12" Foreground="#666666" Height="20" Width="48" HorizontalAlignment="Left"></TextBlock>
  98. <ComboBox Height="32" Width="228" Margin="0,8,0,0" HorizontalAlignment="Left"></ComboBox>
  99. </StackPanel>
  100. </Grid>
  101. </Grid>
  102. </UserControl>