CPDFDisplaySettingsControl.xaml 1.4 KB

123456789101112131415161718192021222324252627282930
  1. <UserControl x:Class="Compdfkit_Tools.PDFControl.CPDFDisplaySettingsControl"
  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.PDFControl"
  7. xmlns:pdftoolsui="clr-namespace:Compdfkit_Tools.PDFControlUI"
  8. mc:Ignorable="d"
  9. d:DesignHeight="450" d:DesignWidth="800" Width="260"
  10. Background="#ffffff">
  11. <Grid>
  12. <Grid.RowDefinitions>
  13. <RowDefinition Height="auto"></RowDefinition>
  14. <RowDefinition Height="*"></RowDefinition>
  15. </Grid.RowDefinitions>
  16. <Border Height="40" BorderThickness="0,0,0,1" BorderBrush="#E0E0E0">
  17. <TextBlock FontSize="16" LineHeight="24" Foreground="#42464D" VerticalAlignment="Center" HorizontalAlignment="Center">View Setting</TextBlock>
  18. </Border>
  19. <Border Grid.Row="1" Background="#FAFCFF">
  20. <StackPanel>
  21. <pdftoolsui:CPDFViewModeUI x:Name="ViewModeUI" Margin="16,26,0,0"/>
  22. <pdftoolsui:CPDFDrawModeUI x:Name="DrawModeUI" Grid.Row="1" Margin="16,26,0,0"></pdftoolsui:CPDFDrawModeUI>
  23. </StackPanel>
  24. </Border>
  25. </Grid>
  26. </UserControl>