|
@@ -43,25 +43,24 @@
|
|
|
<Grid>
|
|
|
<Grid.RowDefinitions>
|
|
|
<RowDefinition></RowDefinition>
|
|
|
- <RowDefinition></RowDefinition>
|
|
|
+ <RowDefinition Height="auto"></RowDefinition>
|
|
|
</Grid.RowDefinitions>
|
|
|
<Grid Margin="20,20,0,0">
|
|
|
<Grid.RowDefinitions>
|
|
|
<RowDefinition Height="auto"></RowDefinition>
|
|
|
<RowDefinition Height="auto"></RowDefinition>
|
|
|
<RowDefinition Height="auto"></RowDefinition>
|
|
|
+ <RowDefinition Height="auto"></RowDefinition>
|
|
|
</Grid.RowDefinitions>
|
|
|
<RadioButton x:Name="TextRdo" IsChecked="True" GroupName="WatermarkType" Checked="TypeRdo_Checked">
|
|
|
<TextBlock Text="{Binding Converter={StaticResource SecurityResourceConverter}, ConverterParameter=Rdo_TextWatermark}"></TextBlock>
|
|
|
</RadioButton>
|
|
|
<TextBox Grid.Row="1" Height="28" Width="438" Text="{Binding WatermarkText, UpdateSourceTrigger=PropertyChanged}" Margin="32,6,0,0" HorizontalAlignment="Left" VerticalContentAlignment="Center" IsEnabled="{Binding Path=IsChecked, ElementName=TextRdo}"></TextBox>
|
|
|
<StackPanel Grid.Row="2" Orientation="Horizontal" Margin="32,6,0,0" Height="30">
|
|
|
- <ComboBox x:Name="FontFamilyCbx" Style="{StaticResource ComboBoxStyle1}" Width="160" Margin="0,0,20,0" SelectionChanged="FontFamilyCbx_SelectionChanged" IsEnabled="{Binding Path=IsChecked, ElementName=TextRdo}">
|
|
|
- <ComboBoxItem Tag="Helvetica" IsSelected="True">Helvetica</ComboBoxItem>
|
|
|
- <ComboBoxItem Tag="Courier New">Courier New</ComboBoxItem>
|
|
|
- <ComboBoxItem Tag="Times New Roman" >Times New Roman</ComboBoxItem>
|
|
|
+ <ComboBox x:Name="FontFamilyCmb" Style="{StaticResource ComboBoxStyle1}" Width="160" Margin="0,0,20,0" SelectionChanged="FontFamilyCmb_SelectionChanged" IsEnabled="{Binding Path=IsChecked, ElementName=TextRdo}">
|
|
|
</ComboBox>
|
|
|
- <ComboBox x:Name="FontSizeCbx" Style="{StaticResource ComboBoxStyle1}" Width="66" Margin="0,0,20,0" SelectionChanged="FontSizeCbx_SelectionChanged" IsEnabled="{Binding Path=IsChecked, ElementName=TextRdo}">
|
|
|
+ <ComboBox x:Name="FontStyleCmb" Style="{StaticResource ComboBoxStyle1}" Width="90" Margin="0,0,20,0" SelectionChanged="FontStyleCmb_SelectionChanged" IsEnabled="{Binding Path=IsChecked, ElementName=TextRdo}"></ComboBox>
|
|
|
+ <ComboBox x:Name="FontSizeCmb" Style="{StaticResource ComboBoxStyle1}" Width="66" Margin="0,0,20,0" SelectionChanged="FontSizeCmb_SelectionChanged" IsEnabled="{Binding Path=IsChecked, ElementName=TextRdo}">
|
|
|
<ComboBoxItem Tag="24" >24</ComboBoxItem>
|
|
|
<ComboBoxItem Tag="48" IsSelected="True">48</ComboBoxItem>
|
|
|
<ComboBoxItem Tag="72" >72</ComboBoxItem>
|
|
@@ -76,14 +75,15 @@
|
|
|
<ComboBoxItem Tag="288" >288</ComboBoxItem>
|
|
|
|
|
|
</ComboBox>
|
|
|
- <StackPanel Orientation="Horizontal">
|
|
|
- <TextBlock Text="{Binding Converter={StaticResource SecurityResourceConverter}, ConverterParameter=Text_FontColor}" VerticalAlignment="Center" Margin="0,0,8,0"></TextBlock>
|
|
|
- <common:ColorPickerControl x:Name="ColorPickerControl" ColorChanged="ColorPickerControl_ColorChanged" IsEnabled="{Binding Path=IsChecked, ElementName=TextRdo}"></common:ColorPickerControl>
|
|
|
- </StackPanel>
|
|
|
+
|
|
|
+ </StackPanel>
|
|
|
+ <StackPanel Orientation="Horizontal" Grid.Row="3" Margin="32,0,0,0">
|
|
|
+ <TextBlock Text="{Binding Converter={StaticResource SecurityResourceConverter}, ConverterParameter=Text_FontColor}" VerticalAlignment="Center" Margin="0,0,8,0"></TextBlock>
|
|
|
+ <common:ColorPickerControl x:Name="ColorPickerControl" ColorChanged="ColorPickerControl_ColorChanged" IsEnabled="{Binding Path=IsChecked, ElementName=TextRdo}"></common:ColorPickerControl>
|
|
|
</StackPanel>
|
|
|
</Grid>
|
|
|
|
|
|
- <Grid Margin="20,20,0,0" Grid.Row="1">
|
|
|
+ <Grid Margin="20,20,0,10" Grid.Row="1">
|
|
|
<Grid.RowDefinitions>
|
|
|
<RowDefinition Height="auto"></RowDefinition>
|
|
|
<RowDefinition Height="auto"></RowDefinition>
|