CPDFNoteUI.xaml 2.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. <UserControl x:Class="Compdfkit_Tools.PDFControlUI.CPDFNoteUI"
  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="Note" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" FontFamily="Segoe UI"></TextBlock>
  17. </Grid>
  18. </Border>
  19. <StackPanel Orientation="Vertical" Height="130">
  20. <cpdftools:CPDFAnnotationPreviewerControl x:Name="CPDFAnnotationPreviewerControl" Height="100" Margin="16"></cpdftools:CPDFAnnotationPreviewerControl>
  21. </StackPanel>
  22. <StackPanel Height="75" Margin="5">
  23. <TextBlock Text="Border Color"></TextBlock>
  24. <cpdfcommon:ColorPickerControl x:Name="ColorPickerControl" TransparentBtnProperty="Collapsed"></cpdfcommon:ColorPickerControl>
  25. </StackPanel>
  26. <StackPanel Height="200" Margin="5">
  27. <TextBlock Text="Note"></TextBlock>
  28. <TextBox Height="150" x:Name="NoteTextBox" TextChanged="NoteTextBox_TextChanged" TextWrapping="Wrap" AcceptsReturn="True"></TextBox>
  29. </StackPanel>
  30. </StackPanel>
  31. </Grid>
  32. </ScrollViewer>
  33. </UserControl>