RegularViewerControl.xaml 2.7 KB

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