HomeGuidContent.xaml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <UserControl
  2. x:Class="PDF_Master.Views.HomePanel.HomeGuidContent"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:PDF_Master.Views.HomePanel"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. xmlns:pDFTools="clr-namespace:PDF_Master.Views.HomePanel.PDFTools"
  9. xmlns:prism="http://prismlibrary.com/"
  10. xmlns:recentFiles="clr-namespace:PDF_Master.Views.HomePanel.RecentFiles"
  11. d:DesignHeight="450"
  12. d:DesignWidth="800"
  13. prism:ViewModelLocator.AutoWireViewModel="True"
  14. Background="{StaticResource color.sys.layout.anti}"
  15. mc:Ignorable="d">
  16. <Grid>
  17. <ScrollViewer
  18. x:Name="scrollView"
  19. VerticalAlignment="Stretch"
  20. PanningMode="VerticalFirst"
  21. PreviewMouseWheel="ScrollViewer_PreviewMouseWheel"
  22. VerticalScrollBarVisibility="Visible">
  23. <Grid>
  24. <Grid.RowDefinitions>
  25. <RowDefinition Height="Auto" />
  26. <RowDefinition />
  27. </Grid.RowDefinitions>
  28. <!--快捷工具
  29. <pDFTools:QuickToolsContent x:Name="hometool" Margin="32" />-->
  30. <ContentControl Margin="24" prism:RegionManager.RegionName="{Binding HomeToolRegionName}" />
  31. <recentFiles:RecentFilesContent
  32. x:Name="Recentlist"
  33. Grid.Row="1"
  34. Margin="24,0"
  35. MouseDown="Recentlist_MouseDown" />
  36. </Grid>
  37. </ScrollViewer>
  38. </Grid>
  39. </UserControl>