123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- <UserControl x:Class="PDF_Office.Views.EditTools.Watermark.WatermarkCreateFileContent"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:prism="http://prismlibrary.com/"
- prism:ViewModelLocator.AutoWireViewModel="True"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:cus="clr-namespace:PDF_Office.CustomControl"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d"
- d:DesignHeight="632"
- d:DesignWidth="260" >
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="48"/>
- <RowDefinition Height="584"/>
- </Grid.RowDefinitions>
- <Grid Grid.Row="0" Width="228" Margin="0,16,0,0">
- <StackPanel Orientation="Horizontal">
- <TextBox Name="FileNameTextBox" IsEnabled="False" Text="XXXXXXXXXX.pdf" FontSize="14" VerticalContentAlignment="Center" Width="188"></TextBox>
- <Button Content="+" Width="32" Height="32" Margin="8,0,0,0"></Button>
- </StackPanel>
- </Grid>
- <Grid Grid.Row="1" Visibility="{Binding ElementName=FileNameTextBox,Path=Text}">
- <Grid.RowDefinitions>
- <RowDefinition Height="197"/>
- <RowDefinition Height="200"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Grid Grid.Row="0" Margin="16,23,16,0" Width="228">
- <StackPanel Orientation="Vertical">
- <TextBlock Text="外观" FontSize="12" Foreground="#666666" Height="20" Width="24" HorizontalAlignment="Left"></TextBlock>
- <StackPanel Orientation="Horizontal" Margin="0,8,0,0">
- <StackPanel Orientation="Horizontal">
- <TextBlock Width="24" Height="24" Background="CadetBlue"></TextBlock>
- <cus:CommonWritableComboBox Width="66" Height="32" Margin="8,0,0,0"></cus:CommonWritableComboBox>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="28,0,0,0">
- <TextBlock Width="24" Height="24" Background="CadetBlue"></TextBlock>
- <cus:CommonWritableComboBox Width="66" Height="32" Margin="8,0,0,0" TypeSouce="{Binding OpacityList,Mode=TwoWay}"></cus:CommonWritableComboBox>
- </StackPanel>
- </StackPanel>
- <ComboBox Height="32" Margin="0,8,0,0"></ComboBox>
- <CheckBox Margin="0,11,0,0" >
- <TextBlock Text="相对于页面目标的比例" Width="144" Height="22" FontSize="14"/>
- </CheckBox>
- <cus:CommonWritableComboBox Width="66" Height="32" HorizontalAlignment="Left" Margin="0,9,0,0"></cus:CommonWritableComboBox>
- </StackPanel>
- </Grid>
- <Grid Grid.Row="1" Margin="16,10,16,0" Width="228">
- <StackPanel>
- <TextBlock Text="位置" FontSize="12" Foreground="#666666" Height="20" Width="24" HorizontalAlignment="Left"></TextBlock>
- <StackPanel Orientation="Horizontal" Margin="0,8,0,0">
- <Grid Width="74" Height="74">
- <Grid.ColumnDefinitions>
- <ColumnDefinition></ColumnDefinition>
- <ColumnDefinition></ColumnDefinition>
- <ColumnDefinition></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition></RowDefinition>
- <RowDefinition></RowDefinition>
- <RowDefinition></RowDefinition>
- </Grid.RowDefinitions>
- <Button Grid.Column="0" Grid.Row="0"></Button>
- <Button Grid.Column="1" Grid.Row="0"></Button>
- <Button Grid.Column="2" Grid.Row="0"></Button>
- <Button Grid.Column="0" Grid.Row="1"></Button>
- <Button Grid.Column="1" Grid.Row="1" Background="Black"></Button>
- <Button Grid.Column="2" Grid.Row="1"></Button>
- <Button Grid.Column="0" Grid.Row="2"></Button>
- <Button Grid.Column="1" Grid.Row="2"></Button>
- <Button Grid.Column="2" Grid.Row="2"></Button>
- </Grid>
- <StackPanel Orientation="Vertical" Margin="70,0,0,0">
- <StackPanel Orientation="Horizontal">
- <TextBlock Text="X" Width="9" Height="20" VerticalAlignment="Center"/>
- <TextBox Width="66" Height="32" Margin="9,0,0,0"></TextBox>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,8,0,0">
- <TextBlock Text="Y" Width="9" Height="20" VerticalAlignment="Center"/>
- <TextBox Width="66" Height="32" Margin="9,0,0,0"></TextBox>
- </StackPanel>
- </StackPanel>
- </StackPanel>
- <CheckBox Margin="0,24,0,0" >
- <TextBlock Text="平铺" Width="144" Height="22" FontSize="14"/>
- </CheckBox>
- <StackPanel Orientation="Horizontal" Margin="0,8,0,0">
- <StackPanel Orientation="Horizontal">
- <TextBlock Text="" Background="Aquamarine" Width="25" Height="9" VerticalAlignment="Center"/>
- <TextBox Width="66" Height="32" Margin="9,0,0,0"></TextBox>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="32,0,0,0">
- <TextBlock Background="AntiqueWhite" Width="9" Height="25" VerticalAlignment="Center"/>
- <TextBox Width="66" Height="32" Margin="9,0,0,0"></TextBox>
- </StackPanel>
- </StackPanel>
- </StackPanel>
- </Grid>
- <Grid Width="228" Grid.Row="2" Margin="16,10,16,4" Grid.RowSpan="2">
- <StackPanel Orientation="Vertical">
- <TextBlock Text="页面范围" FontSize="12" Foreground="#666666" Height="20" Width="48" HorizontalAlignment="Left"></TextBlock>
- <ComboBox Height="32" Margin="0,8,0,0"></ComboBox>
- </StackPanel>
- </Grid>
- </Grid>
- </Grid>
- </UserControl>
|