CPDFMarkupUI.xaml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <UserControl x:Class="compdfkit_tools.PDFControlUI.CPDFMarkupUI"
  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:cpdfcommon="clr-namespace:compdfkit_tools.Common"
  7. xmlns:cpdftools="clr-namespace:compdfkit_tools.PDFControl"
  8. mc:Ignorable="d"
  9. d:DesignHeight="800" d:DesignWidth="300">
  10. <Grid Background="#FAFCFF">
  11. <Grid.RowDefinitions>
  12. <RowDefinition Height="170"></RowDefinition>
  13. <RowDefinition Height="80"></RowDefinition>
  14. <RowDefinition Height="80"></RowDefinition>
  15. <RowDefinition Height="200"></RowDefinition>
  16. <RowDefinition></RowDefinition>
  17. </Grid.RowDefinitions>
  18. <StackPanel Orientation="Vertical">
  19. <Border BorderThickness="1" BorderBrush="#1A000000">
  20. <Grid Height="40" Background="White" >
  21. <TextBlock x:Name="TitleTextBlock" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" FontFamily="Segoe UI"></TextBlock>
  22. </Grid>
  23. </Border>
  24. <cpdftools:CPDFAnnotationPreviewerControl x:Name="CPDFAnnotationPreviewerControl" Height="100" Margin="16"></cpdftools:CPDFAnnotationPreviewerControl>
  25. </StackPanel>
  26. <StackPanel Grid.Row="1" Margin="5">
  27. <TextBlock Text="Color"></TextBlock>
  28. <cpdfcommon:ColorPickerControl x:Name="ColorPickerControl" TransparentBtnProperty="Collapsed"></cpdfcommon:ColorPickerControl>
  29. </StackPanel>
  30. <StackPanel Grid.Row="2" Margin="5">
  31. <TextBlock Text="Opacity"></TextBlock>
  32. <cpdfcommon:CPDFOpacityControl x:Name="CPDFOpacityControl"></cpdfcommon:CPDFOpacityControl>
  33. </StackPanel>
  34. <StackPanel Grid.Row="3" 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. </Grid>
  39. </UserControl>