WatermarkCreateFileContent.xaml 6.4 KB

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