CPDFDisplaySettingsControl.xaml 1.4 KB

1234567891011121314151617181920212223242526272829
  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. <Grid>
  11. <Grid.RowDefinitions>
  12. <RowDefinition Height="auto"></RowDefinition>
  13. <RowDefinition Height="*"></RowDefinition>
  14. </Grid.RowDefinitions>
  15. <Border Height="40" BorderThickness="0,0,0,1" BorderBrush="#E0E0E0">
  16. <TextBlock FontSize="16" LineHeight="24" Foreground="#42464D" VerticalAlignment="Center" HorizontalAlignment="Center">View Setting</TextBlock>
  17. </Border>
  18. <Border Grid.Row="1" Background="#FAFCFF">
  19. <StackPanel>
  20. <pdftoolsui:CPDFViewModeUI x:Name="ViewModeUI" Margin="16,26,0,0"/>
  21. <pdftoolsui:CPDFDrawModeUI x:Name="DrawModeUI" Grid.Row="1" Margin="16,26,0,0"></pdftoolsui:CPDFDrawModeUI>
  22. </StackPanel>
  23. </Border>
  24. </Grid>
  25. </UserControl>