CPDFNoteUI.xaml 1.9 KB

1234567891011121314151617181920212223242526272829303132
  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. <Grid Background="#FAFCFF">
  12. <StackPanel Orientation="Vertical">
  13. <Border BorderThickness="1" BorderBrush="#1A000000">
  14. <Grid Height="40" Background="White" >
  15. <TextBlock x:Name="TitileTextBlock" Text="Note" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" FontFamily="Segoe UI"></TextBlock>
  16. </Grid>
  17. </Border>
  18. <StackPanel Orientation="Vertical" Height="130">
  19. <cpdftools:CPDFAnnotationPreviewerControl x:Name="CPDFAnnotationPreviewerControl" Height="100" Margin="16"></cpdftools:CPDFAnnotationPreviewerControl>
  20. </StackPanel>
  21. <StackPanel Height="75" Margin="5">
  22. <TextBlock Text="Border Color"></TextBlock>
  23. <cpdfcommon:ColorPickerControl x:Name="ColorPickerControl" TransparentBtnProperty="Collapsed"></cpdfcommon:ColorPickerControl>
  24. </StackPanel>
  25. <StackPanel Height="200" Margin="5">
  26. <TextBlock Text="Note"></TextBlock>
  27. <TextBox Height="150" x:Name="NoteTextBox" TextChanged="NoteTextBox_TextChanged" TextWrapping="Wrap" AcceptsReturn="True"></TextBox>
  28. </StackPanel>
  29. </StackPanel>
  30. </Grid>
  31. </UserControl>