CPDFFreeTextUI.xaml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <UserControl x:Class="Compdfkit_Tools.PDFControlUI.CPDFFreeTextUI"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:Compdfkit_Tools.PDFControlUI"
  7. xmlns:cpdfcommon="clr-namespace:Compdfkit_Tools.Common"
  8. xmlns:cpdftools="clr-namespace:Compdfkit_Tools.PDFControl"
  9. mc:Ignorable="d"
  10. d:DesignHeight="800" d:DesignWidth="300">
  11. <ScrollViewer VerticalScrollBarVisibility="Auto">
  12. <Grid Background="#FAFCFF">
  13. <StackPanel Orientation="Vertical">
  14. <Border BorderThickness="1" BorderBrush="#1A000000">
  15. <Grid Height="40" Background="White" >
  16. <TextBlock x:Name="TitileTextBlock" Text="Text Box" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" FontFamily="Segoe UI"></TextBlock>
  17. </Grid>
  18. </Border>
  19. <StackPanel Orientation="Vertical" Height="150">
  20. <cpdftools:CPDFAnnotationPreviewerControl x:Name="CPDFAnnotationPreviewerControl" Height="100" Margin="16"></cpdftools:CPDFAnnotationPreviewerControl>
  21. </StackPanel>
  22. <StackPanel Height="75" Margin="5">
  23. <TextBlock Text="Font Color"></TextBlock>
  24. <cpdfcommon:ColorPickerControl x:Name="ColorPickerControl"></cpdfcommon:ColorPickerControl>
  25. </StackPanel>
  26. <StackPanel Height="75" Margin="5">
  27. <TextBlock Text="Opacity"></TextBlock>
  28. <cpdfcommon:CPDFOpacityControl x:Name="CPDFOpacityControl"></cpdfcommon:CPDFOpacityControl>
  29. </StackPanel>
  30. <StackPanel Height="120" Margin="5">
  31. <TextBlock Text="Font Style"></TextBlock>
  32. <cpdfcommon:CPDFFontControl x:Name="CPDFFontControl" Width="228"></cpdfcommon:CPDFFontControl>
  33. </StackPanel>
  34. <StackPanel Height="200" Margin="5">
  35. <TextBlock Text="Note"></TextBlock>
  36. <TextBox Height="150" x:Name="NoteTextBox" TextChanged="NoteTextBox_TextChanged" TextWrapping="Wrap" AcceptsReturn="True"></TextBox>
  37. </StackPanel>
  38. </StackPanel>
  39. </Grid>
  40. </ScrollViewer>
  41. </UserControl>