WatermarkCreateTextContent.xaml 7.0 KB

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