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. PreviewMouseDown="UserControl_MouseDown"
  16. mc:Ignorable="d">
  17. <Grid>
  18. <ScrollViewer
  19. x:Name="scrollView"
  20. VerticalAlignment="Stretch"
  21. PanningMode="VerticalFirst"
  22. PreviewMouseWheel="ScrollViewer_PreviewMouseWheel"
  23. VerticalScrollBarVisibility="Visible">
  24. <Grid>
  25. <Grid.RowDefinitions>
  26. <RowDefinition Height="Auto" />
  27. <RowDefinition />
  28. </Grid.RowDefinitions>
  29. <!--快捷工具
  30. <pDFTools:QuickToolsContent x:Name="hometool" Margin="32" />-->
  31. <ContentControl Margin="24" prism:RegionManager.RegionName="{Binding HomeToolRegionName}" />
  32. <recentFiles:RecentFilesContent
  33. x:Name="Recentlist"
  34. Grid.Row="1"
  35. Margin="24,0" />
  36. </Grid>
  37. </ScrollViewer>
  38. </Grid>
  39. </UserControl>