|
@@ -0,0 +1,67 @@
|
|
|
+<UserControl x:Class="Compdfkit_Tools.Measure.Property.MultilineProperty"
|
|
|
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
+ xmlns:local="clr-namespace:Compdfkit_Tools.Measure.Property" xmlns:cpdfcommon="clr-namespace:Compdfkit_Tools.Common" xmlns:cpdftools="clr-namespace:Compdfkit_Tools.PDFControl"
|
|
|
+ mc:Ignorable="d" >
|
|
|
+ <UserControl.Resources>
|
|
|
+ <ResourceDictionary>
|
|
|
+ <ResourceDictionary.MergedDictionaries>
|
|
|
+ <ResourceDictionary Source="../../Asset/Styles/ComboBoxStyle.xaml"></ResourceDictionary>
|
|
|
+ </ResourceDictionary.MergedDictionaries>
|
|
|
+ </ResourceDictionary>
|
|
|
+ </UserControl.Resources>
|
|
|
+ <ScrollViewer VerticalScrollBarVisibility="Auto">
|
|
|
+ <Grid Background="#FAFCFF">
|
|
|
+ <StackPanel Orientation="Vertical">
|
|
|
+ <Border BorderThickness="1" BorderBrush="#1A000000">
|
|
|
+ <Grid Height="40" Background="White" >
|
|
|
+ <TextBlock x:Name="TitleTextBlock" Text="Line" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" FontWeight="Bold" FontFamily="Segoe UI"></TextBlock>
|
|
|
+ </Grid>
|
|
|
+ </Border>
|
|
|
+ <StackPanel Height="68" Margin="5">
|
|
|
+ <TextBlock Text="Line Color" FontWeight="SemiBold" FontSize="14" LineHeight="16" FontFamily="Segoe UI"/>
|
|
|
+ <cpdfcommon:ColorPickerControl Margin="0,8,0,0" x:Name="BorderColorPickerControl" Brush="Red" TransparentBtnProperty ="Collapsed"></cpdfcommon:ColorPickerControl>
|
|
|
+ </StackPanel>
|
|
|
+ <StackPanel Height="68" Margin="5">
|
|
|
+ <TextBlock Text="Opacity" FontWeight="SemiBold" FontSize="14" LineHeight="16" FontFamily="Segoe UI"/>
|
|
|
+ <cpdfcommon:CPDFOpacityControl Margin="0,8,0,0" x:Name="CPDFOpacityControl"></cpdfcommon:CPDFOpacityControl>
|
|
|
+ </StackPanel>
|
|
|
+ <StackPanel Height="68" Margin="5">
|
|
|
+ <TextBlock Text="Line Width" FontWeight="SemiBold" FontSize="14" LineHeight="16" FontFamily="Segoe UI"></TextBlock>
|
|
|
+ <cpdfcommon:CPDFThicknessControl Margin="0,8,0,0" x:Name="CPDFThicknessControl"></cpdfcommon:CPDFThicknessControl>
|
|
|
+ </StackPanel>
|
|
|
+ <StackPanel x:Name="LineStyleStackPanel" Height="90" Margin="5">
|
|
|
+ <TextBlock Text="Line and Border Style" FontWeight="SemiBold" FontSize="14" LineHeight="16" FontFamily="Segoe UI"/>
|
|
|
+ <cpdfcommon:CPDFLineStyleControl Margin="0,8,0,0" x:Name="CPDFLineStyleControl"></cpdfcommon:CPDFLineStyleControl>
|
|
|
+ </StackPanel>
|
|
|
+ <StackPanel x:Name="FontColorStackPanel" Height="75" Margin="5">
|
|
|
+ <TextBlock Text="Font Color" FontWeight="SemiBold" FontSize="14" LineHeight="16" FontFamily="Segoe UI"/>
|
|
|
+ <cpdfcommon:ColorPickerControl Margin="0,8,0,0" x:Name="FillColorPickerControl" Brush="Transparent"></cpdfcommon:ColorPickerControl>
|
|
|
+ </StackPanel>
|
|
|
+ <StackPanel Margin="5">
|
|
|
+ <TextBlock Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Text" FontSize="14" FontFamily="Segoe UI" FontWeight="Bold" />
|
|
|
+ <ComboBox x:Name="FontCombox" Margin="0,8,0,0" Style="{StaticResource ComboBoxStyle1}" SelectedIndex="0" SelectionChanged="FontCombox_SelectionChanged">
|
|
|
+ <ComboBoxItem Content="Arial"/>
|
|
|
+ <ComboBoxItem Content="Courier New"/>
|
|
|
+ <ComboBoxItem Content="Times New Roman"/>
|
|
|
+ </ComboBox>
|
|
|
+ <StackPanel Orientation="Horizontal" >
|
|
|
+ <ComboBox x:Name="FontStyleCombox" Margin="0,8,0,0" Width="148" Style="{StaticResource ComboBoxStyle1}" SelectedIndex="0" SelectionChanged="FontStyleCombox_SelectionChanged">
|
|
|
+ <ComboBoxItem Content="Regular"/>
|
|
|
+ <ComboBoxItem Content="Bold"/>
|
|
|
+ <ComboBoxItem Content="Italic"/>
|
|
|
+ <ComboBoxItem Content="Bold Italic"/>
|
|
|
+ </ComboBox>
|
|
|
+ <ComboBox x:Name="FontSizeCombox" Margin="4,8,0,0" Width="80" Style="{StaticResource ComboBoxStyle1}" SelectedIndex="0" SelectionChanged="FontSizeCombox_SelectionChanged"/>
|
|
|
+ </StackPanel>
|
|
|
+ </StackPanel>
|
|
|
+ <StackPanel Height="160" Margin="5">
|
|
|
+ <TextBlock Text="Note"></TextBlock>
|
|
|
+ <TextBox Height="100" x:Name="NoteTextBox" TextChanged="NoteTextBox_TextChanged" TextWrapping="Wrap" AcceptsReturn="True"></TextBox>
|
|
|
+ </StackPanel>
|
|
|
+ </StackPanel>
|
|
|
+ </Grid>
|
|
|
+ </ScrollViewer>
|
|
|
+</UserControl>
|