1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <UserControl x:Class="ComPDFKit.Controls.PDFControlUI.CPDFFreeTextUI"
- 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.Controls.PDFControlUI"
- xmlns:cpdfcommon="clr-namespace:ComPDFKit.Controls.Common"
- xmlns:cpdftools="clr-namespace:ComPDFKit.Controls.PDFControl"
- mc:Ignorable="d"
- d:DesignHeight="800" d:DesignWidth="300">
- <UserControl.Resources>
- <ResourceDictionary>
- <cpdfcommon:PropertyPanelResourceConverter x:Key="PropertyPanelResourceConverter"></cpdfcommon:PropertyPanelResourceConverter>
- </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="TitileTextBlock" Text="{Binding Converter={StaticResource PropertyPanelResourceConverter},ConverterParameter=Title_FreeText}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" FontFamily="Microsoft YaHei"></TextBlock>
- </Grid>
- </Border>
- <StackPanel Orientation="Vertical" Height="150">
- <cpdftools:CPDFAnnotationPreviewerControl x:Name="CPDFAnnotationPreviewerControl" Height="100" Margin="16"></cpdftools:CPDFAnnotationPreviewerControl>
- </StackPanel>
- <StackPanel Height="75" Margin="5">
- <TextBlock Text="{Binding Converter={StaticResource PropertyPanelResourceConverter},ConverterParameter=Property_FontColor}"></TextBlock>
- <cpdfcommon:ColorPickerControl x:Name="ColorPickerControl" TransparentBtnProperty="Collapsed"></cpdfcommon:ColorPickerControl>
- </StackPanel>
- <StackPanel Height="75" Margin="5">
- <TextBlock Text="{Binding Converter={StaticResource PropertyPanelResourceConverter},ConverterParameter=Property_Opacity}"></TextBlock>
- <cpdfcommon:CPDFOpacityControl x:Name="CPDFOpacityControl"></cpdfcommon:CPDFOpacityControl>
- </StackPanel>
- <StackPanel Height="120" Margin="5">
- <TextBlock Text="{Binding Converter={StaticResource PropertyPanelResourceConverter},ConverterParameter=Property_FontStyle}"></TextBlock>
- <cpdfcommon:CPDFFontControl x:Name="CPDFFontControl" Width="228"></cpdfcommon:CPDFFontControl>
- </StackPanel>
- <StackPanel Height="200" Margin="5">
- <TextBlock Text="{Binding Converter={StaticResource PropertyPanelResourceConverter},ConverterParameter=Property_Note}"></TextBlock>
- <TextBox Height="150" x:Name="NoteTextBox" TextChanged="NoteTextBox_TextChanged" TextWrapping="Wrap" AcceptsReturn="True"></TextBox>
- </StackPanel>
- </StackPanel>
- </Grid>
- </ScrollViewer>
- </UserControl>
|