WatermarkCreateTextContent.xaml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <UserControl x:Class="PDF_Office.Views.EditTools.Watermark.WatermarkCreateTextContent"
  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. <Grid>
  12. <Grid.RowDefinitions>
  13. <RowDefinition Height="168"/>
  14. <RowDefinition Height="190"/>
  15. <RowDefinition Height="200"/>
  16. <RowDefinition Height="74"/>
  17. </Grid.RowDefinitions>
  18. <Grid Grid.Row="0" Width="228">
  19. <StackPanel Orientation="Vertical">
  20. <TextBox Height="72" Margin="0,16,0,0" Text="一个水印" FontSize="14"></TextBox>
  21. <StackPanel Orientation="Horizontal" Margin="0,8,0,0">
  22. <ComboBox Width="154" Height="32"></ComboBox>
  23. <ComboBox Width="66" Height="32" Margin="8,0,0,0"></ComboBox>
  24. </StackPanel>
  25. <StackPanel Orientation="Horizontal" Margin="0,8,0,0">
  26. <StackPanel Orientation="Horizontal">
  27. <Button Width="34.67" Height="32"></Button>
  28. <Button Width="34.67" Height="32"></Button>
  29. <Button Width="34.67" Height="32"></Button>
  30. </StackPanel>
  31. <StackPanel Orientation="Horizontal" Margin="8,0,0,0">
  32. <Button Width="33" Height="32"></Button>
  33. <Button Width="33" Height="32"></Button>
  34. </StackPanel>
  35. </StackPanel>
  36. </StackPanel>
  37. </Grid>
  38. <Grid Grid.Row="1" Margin="0,16,0,0" Width="228">
  39. <StackPanel Orientation="Vertical">
  40. <TextBlock Text="外观" FontSize="12" Foreground="#666666" Height="20" Width="24" HorizontalAlignment="Left"></TextBlock>
  41. <StackPanel Orientation="Horizontal" Margin="0,8,0,0">
  42. <StackPanel Orientation="Horizontal">
  43. <TextBlock Width="24" Height="24" Background="CadetBlue"></TextBlock>
  44. <ComboBox Width="66" Height="32" Margin="8,0,0,0"></ComboBox>
  45. </StackPanel>
  46. <StackPanel Orientation="Horizontal" Margin="28,0,0,0">
  47. <TextBlock Width="24" Height="24" Background="CadetBlue"></TextBlock>
  48. <ComboBox Width="66" Height="32" Margin="8,0,0,0"></ComboBox>
  49. </StackPanel>
  50. </StackPanel>
  51. <ComboBox Height="32" Margin="0,8,0,0"></ComboBox>
  52. <CheckBox Margin="0,11,0,0" >
  53. <TextBlock Text="相对于页面目标的比例" Width="144" Height="22" FontSize="14"/>
  54. </CheckBox>
  55. <ComboBox Width="66" Height="32" HorizontalAlignment="Left" Margin="0,9,0,0"></ComboBox>
  56. </StackPanel>
  57. </Grid>
  58. <Grid Grid.Row="2" Margin="0,10,0,0" Width="228">
  59. <StackPanel>
  60. <TextBlock Text="位置" FontSize="12" Foreground="#666666" Height="20" Width="48" HorizontalAlignment="Left"></TextBlock>
  61. <StackPanel Orientation="Horizontal" Margin="0,8,0,0">
  62. <Grid Width="74" Height="74">
  63. <Grid.ColumnDefinitions>
  64. <ColumnDefinition></ColumnDefinition>
  65. <ColumnDefinition></ColumnDefinition>
  66. <ColumnDefinition></ColumnDefinition>
  67. </Grid.ColumnDefinitions>
  68. <Grid.RowDefinitions>
  69. <RowDefinition></RowDefinition>
  70. <RowDefinition></RowDefinition>
  71. <RowDefinition></RowDefinition>
  72. </Grid.RowDefinitions>
  73. <Button Grid.Column="0" Grid.Row="0"></Button>
  74. <Button Grid.Column="1" Grid.Row="0"></Button>
  75. <Button Grid.Column="2" Grid.Row="0"></Button>
  76. <Button Grid.Column="0" Grid.Row="1"></Button>
  77. <Button Grid.Column="1" Grid.Row="1" Background="Black"></Button>
  78. <Button Grid.Column="2" Grid.Row="1"></Button>
  79. <Button Grid.Column="0" Grid.Row="2"></Button>
  80. <Button Grid.Column="1" Grid.Row="2"></Button>
  81. <Button Grid.Column="2" Grid.Row="2"></Button>
  82. </Grid>
  83. <StackPanel Orientation="Vertical" Margin="70,0,0,0">
  84. <StackPanel Orientation="Horizontal">
  85. <TextBlock Text="X" Width="9" Height="20" VerticalAlignment="Center"/>
  86. <TextBox Width="66" Height="32" Margin="9,0,0,0"></TextBox>
  87. </StackPanel>
  88. <StackPanel Orientation="Horizontal" Margin="0,8,0,0">
  89. <TextBlock Text="Y" Width="9" Height="20" VerticalAlignment="Center"/>
  90. <TextBox Width="66" Height="32" Margin="9,0,0,0"></TextBox>
  91. </StackPanel>
  92. </StackPanel>
  93. </StackPanel>
  94. <CheckBox Margin="0,24,0,0" >
  95. <TextBlock Text="平铺" Width="144" Height="22" FontSize="14"/>
  96. </CheckBox>
  97. <StackPanel Orientation="Horizontal" Margin="0,8,0,0">
  98. <StackPanel Orientation="Horizontal">
  99. <TextBlock Text="" Background="Aquamarine" Width="25" Height="9" VerticalAlignment="Center"/>
  100. <TextBox Width="66" Height="32" Margin="9,0,0,0"></TextBox>
  101. </StackPanel>
  102. <StackPanel Orientation="Horizontal" Margin="32,0,0,0">
  103. <TextBlock Background="AntiqueWhite" Width="9" Height="25" VerticalAlignment="Center"/>
  104. <TextBox Width="66" Height="32" Margin="9,0,0,0"></TextBox>
  105. </StackPanel>
  106. </StackPanel>
  107. </StackPanel>
  108. </Grid>
  109. <Grid Width="228" Grid.Row="4" Margin="0,10,0,4">
  110. <StackPanel Orientation="Vertical">
  111. <TextBlock Text="页面范围" FontSize="12" Foreground="#666666" Height="20" Width="24" HorizontalAlignment="Left"></TextBlock>
  112. <ComboBox Height="32" Margin="0,8,0,0"></ComboBox>
  113. </StackPanel>
  114. </Grid>
  115. </Grid>
  116. </UserControl>