RegularViewerControl.xaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <UserControl x:Class="Compdfkit_Tools.PDFView.RegularViewerControl"
  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.PDFView"
  7. xmlns:common="clr-namespace:Compdfkit_Tools.Common"
  8. mc:Ignorable="d"
  9. Unloaded="UserControl_Unloaded"
  10. d:DesignHeight="720" d:DesignWidth="1080">
  11. <Grid>
  12. <Grid.RowDefinitions>
  13. <RowDefinition Height="auto"></RowDefinition>
  14. <RowDefinition Height="*"></RowDefinition>
  15. </Grid.RowDefinitions>
  16. <Border x:Name="SignatureStatusBorder" Visibility="Collapsed"/>
  17. <Grid Grid.Row="1" x:Name="BodyGrid">
  18. <Grid.ColumnDefinitions>
  19. <ColumnDefinition Width="0"></ColumnDefinition>
  20. <ColumnDefinition Width="0"></ColumnDefinition>
  21. <ColumnDefinition Width="*"></ColumnDefinition>
  22. <ColumnDefinition Width="auto"></ColumnDefinition>
  23. </Grid.ColumnDefinitions>
  24. <Border Visibility="Collapsed" x:Name="BotaContainer"></Border>
  25. <GridSplitter Name="Splitter" Grid.Column="1" Width="15" ResizeBehavior="PreviousAndNext" Visibility="Collapsed">
  26. <GridSplitter.Template>
  27. <ControlTemplate TargetType="{x:Type GridSplitter}">
  28. <Border BorderThickness="{TemplateBinding Border.BorderThickness}"
  29. BorderBrush="{TemplateBinding Border.BorderBrush}"
  30. Background="{TemplateBinding Panel.Background}" >
  31. <Path Fill="Gray" VerticalAlignment="Center">
  32. <Path.Data>
  33. M15 3.75H1V2.25H15V3.75ZM15 8.75H1V7.25H15V8.75ZM1 13.75H15V12.25H1V13.75Z
  34. </Path.Data>
  35. </Path>
  36. </Border>
  37. </ControlTemplate>
  38. </GridSplitter.Template>
  39. </GridSplitter>
  40. <Border Grid.Column="2" x:Name="PDFGrid" Background="#CECECE"></Border>
  41. <Border Grid.Column="3" Name="PropertyContainer" Visibility="Collapsed" ></Border>
  42. </Grid>
  43. <common:PageNumberControl Grid.Row="1" x:Name="FloatPageTool" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="0,0,0,20"></common:PageNumberControl>
  44. </Grid>
  45. </UserControl>