|
@@ -21,7 +21,7 @@
|
|
<TextBox Height="72" Margin="0,16,0,0" Text="一个水印" FontSize="14"></TextBox>
|
|
<TextBox Height="72" Margin="0,16,0,0" Text="一个水印" FontSize="14"></TextBox>
|
|
<StackPanel Orientation="Horizontal" Margin="0,8,0,0">
|
|
<StackPanel Orientation="Horizontal" Margin="0,8,0,0">
|
|
<ComboBox Width="154" Height="32"></ComboBox>
|
|
<ComboBox Width="154" Height="32"></ComboBox>
|
|
- <ComboBox Width="66" Height="32" Margin="8,0,0,0"></ComboBox>
|
|
|
|
|
|
+ <ComboBox Width="66" Height="32" Margin="8,0,0,0" ItemsSource="{Binding FontSizeList}" ></ComboBox>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal" Margin="0,8,0,0">
|
|
<StackPanel Orientation="Horizontal" Margin="0,8,0,0">
|
|
<StackPanel Orientation="Horizontal">
|
|
<StackPanel Orientation="Horizontal">
|
|
@@ -42,18 +42,18 @@
|
|
<StackPanel Orientation="Horizontal" Margin="0,8,0,0">
|
|
<StackPanel Orientation="Horizontal" Margin="0,8,0,0">
|
|
<StackPanel Orientation="Horizontal">
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock Width="24" Height="24" Background="CadetBlue"></TextBlock>
|
|
<TextBlock Width="24" Height="24" Background="CadetBlue"></TextBlock>
|
|
- <cus:CommonWritableComboBox Width="66" Height="32" Margin="8,0,0,0"></cus:CommonWritableComboBox>
|
|
|
|
|
|
+ <cus:CommonWritableComboBox Width="66" Height="32" Margin="8,0,0,0" TypeSouce="{Binding RotationList}" Minimum="-360" Maximum="360" Unit=" " Text="0" Value="{Binding RotationValue,Mode=TwoWay}"></cus:CommonWritableComboBox>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal" Margin="28,0,0,0">
|
|
<StackPanel Orientation="Horizontal" Margin="28,0,0,0">
|
|
<TextBlock Width="24" Height="24" Background="CadetBlue"></TextBlock>
|
|
<TextBlock Width="24" Height="24" Background="CadetBlue"></TextBlock>
|
|
- <cus:CommonWritableComboBox Width="66" Height="32" Margin="8,0,0,0"></cus:CommonWritableComboBox>
|
|
|
|
|
|
+ <cus:CommonWritableComboBox Width="66" Height="32" Margin="8,0,0,0" TypeSouce="{Binding OpacityList,Mode=TwoWay}" Text="100 %" Value="{Binding OpacityValue,Mode=TwoWay}"></cus:CommonWritableComboBox>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
- <ComboBox Height="32" Margin="0,8,0,0"></ComboBox>
|
|
|
|
- <CheckBox Margin="0,11,0,0" >
|
|
|
|
|
|
+ <ComboBox Height="32" Margin="0,8,0,0" ItemsSource="{Binding IsFrontList}"></ComboBox>
|
|
|
|
+ <CheckBox Margin="0,11,0,0" Name="RelativeScaleCheckBox">
|
|
<TextBlock Text="相对于页面目标的比例" Width="144" Height="22" FontSize="14"/>
|
|
<TextBlock Text="相对于页面目标的比例" Width="144" Height="22" FontSize="14"/>
|
|
</CheckBox>
|
|
</CheckBox>
|
|
- <cus:CommonWritableComboBox Width="66" Height="32" HorizontalAlignment="Left" Margin="0,9,0,0"></cus:CommonWritableComboBox>
|
|
|
|
|
|
+ <cus:CommonWritableComboBox Width="66" Height="32" HorizontalAlignment="Left" Margin="0,9,0,0" TypeSouce="{Binding ScaleList}" IsEnabled="{Binding ElementName=RelativeScaleCheckBox,Path=IsChecked}" Text="50 %" Value="{Binding RelativeScaleValue,Mode=TwoWay}"></cus:CommonWritableComboBox>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Grid>
|
|
<Grid Grid.Row="2" Margin="0,10,0,0" Width="228">
|
|
<Grid Grid.Row="2" Margin="0,10,0,0" Width="228">
|
|
@@ -84,26 +84,26 @@
|
|
<StackPanel Orientation="Vertical" Margin="70,0,0,0">
|
|
<StackPanel Orientation="Vertical" Margin="70,0,0,0">
|
|
<StackPanel Orientation="Horizontal">
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock Text="X" Width="9" Height="20" VerticalAlignment="Center"/>
|
|
<TextBlock Text="X" Width="9" Height="20" VerticalAlignment="Center"/>
|
|
- <TextBox Width="66" Height="32" Margin="9,0,0,0"></TextBox>
|
|
|
|
|
|
+ <cus:NumericUpDown Width="66" Height="32" Margin="9,0,0,0" Text="{Binding HorizOffsetValue,Mode=TwoWay}"></cus:NumericUpDown>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal" Margin="0,8,0,0">
|
|
<StackPanel Orientation="Horizontal" Margin="0,8,0,0">
|
|
<TextBlock Text="Y" Width="9" Height="20" VerticalAlignment="Center"/>
|
|
<TextBlock Text="Y" Width="9" Height="20" VerticalAlignment="Center"/>
|
|
- <TextBox Width="66" Height="32" Margin="9,0,0,0"></TextBox>
|
|
|
|
|
|
+ <cus:NumericUpDown Width="66" Height="32" Margin="9,0,0,0" Text="{Binding VertOffsetValue,Mode=TwoWay}"></cus:NumericUpDown>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
|
|
|
</StackPanel>
|
|
</StackPanel>
|
|
- <CheckBox Margin="0,24,0,0" >
|
|
|
|
|
|
+ <CheckBox Margin="0,24,0,0" Name="IsFullCheckBox">
|
|
<TextBlock Text="平铺" Width="144" Height="22" FontSize="14"/>
|
|
<TextBlock Text="平铺" Width="144" Height="22" FontSize="14"/>
|
|
</CheckBox>
|
|
</CheckBox>
|
|
<StackPanel Orientation="Horizontal" Margin="0,8,0,0">
|
|
<StackPanel Orientation="Horizontal" Margin="0,8,0,0">
|
|
<StackPanel Orientation="Horizontal">
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock Text="" Background="Aquamarine" Width="25" Height="9" VerticalAlignment="Center"/>
|
|
<TextBlock Text="" Background="Aquamarine" Width="25" Height="9" VerticalAlignment="Center"/>
|
|
- <TextBox Width="66" Height="32" Margin="9,0,0,0"></TextBox>
|
|
|
|
|
|
+ <cus:NumericUpDown Width="66" Height="32" Margin="9,0,0,0" Text="{Binding HorizontalSpacingValue,Mode=TwoWay}" IsEnabled="{Binding ElementName=IsFullCheckBox,Path=IsChecked}"></cus:NumericUpDown>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal" Margin="32,0,0,0">
|
|
<StackPanel Orientation="Horizontal" Margin="32,0,0,0">
|
|
<TextBlock Background="AntiqueWhite" Width="9" Height="25" VerticalAlignment="Center"/>
|
|
<TextBlock Background="AntiqueWhite" Width="9" Height="25" VerticalAlignment="Center"/>
|
|
- <TextBox Width="66" Height="32" Margin="9,0,0,0"></TextBox>
|
|
|
|
|
|
+ <cus:NumericUpDown Width="66" Height="32" Margin="9,0,0,0" Text="{Binding VerticalSpacingValue,Mode=TwoWay}" IsEnabled="{Binding ElementName=IsFullCheckBox,Path=IsChecked}"></cus:NumericUpDown>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
@@ -111,7 +111,7 @@
|
|
<Grid Width="228" Grid.Row="4" Margin="0,8,0,4">
|
|
<Grid Width="228" Grid.Row="4" Margin="0,8,0,4">
|
|
<StackPanel Orientation="Vertical">
|
|
<StackPanel Orientation="Vertical">
|
|
<TextBlock Text="页面范围" FontSize="12" Foreground="#666666" Height="20" Width="24" HorizontalAlignment="Left"></TextBlock>
|
|
<TextBlock Text="页面范围" FontSize="12" Foreground="#666666" Height="20" Width="24" HorizontalAlignment="Left"></TextBlock>
|
|
- <ComboBox Height="32" Margin="0,8,0,0"></ComboBox>
|
|
|
|
|
|
+ <cus:WritableComboBox Height="32" Margin="0,8,0,0"></cus:WritableComboBox>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Grid>
|
|
</Grid>
|
|
</Grid>
|