App.xaml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <prism:PrismApplication
  2. x:Class="PDF_Office.App"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:local="clr-namespace:PDF_Office"
  6. xmlns:prism="http://prismlibrary.com/">
  7. <Application.Resources>
  8. <ResourceDictionary>
  9. <ResourceDictionary.MergedDictionaries>
  10. <ResourceDictionary Source="pack://application:,,,/PDF Office;component/Styles/TabControlStyle.xaml" />
  11. <ResourceDictionary Source="pack://application:,,,/PDF Office;component/Styles/ComboxStyle.xaml" />
  12. <ResourceDictionary Source="pack://application:,,,/PDF Office;component/Styles/ListBoxStyle.xaml" />
  13. <ResourceDictionary Source="pack://application:,,,/PDF Office;component/Styles/WindowsStyle.xaml" />
  14. <ResourceDictionary Source="pack://application:,,,/PDF Office;component/Styles/CustomBtnStyle.xaml" />
  15. <ResourceDictionary Source="pack://application:,,,/PDF Office;component/Styles/ContainerStyles/ComboxStyle/ComboxItemStyle.xaml" />
  16. <!-- Enable show customctrol's correctly UI in Xaml Designer -->
  17. <ResourceDictionary Source="pack://application:,,,/PDF Office;component/Themes/Generic.xaml" />
  18. </ResourceDictionary.MergedDictionaries>
  19. <Style TargetType="{x:Type Hyperlink}">
  20. <Setter Property="Foreground" Value="#477EDE" />
  21. <Setter Property="TextBlock.TextDecorations" Value="{x:Null}" />
  22. <Style.Triggers>
  23. <Trigger Property="IsMouseOver" Value="True">
  24. <Setter Property="Foreground" Value="#6B97E4" />
  25. <!-- 在鼠标悬停显示下划线 -->
  26. <Setter Property="TextBlock.TextDecorations">
  27. <Setter.Value>
  28. <TextDecorationCollection>
  29. <TextDecoration Location="Underline" />
  30. </TextDecorationCollection>
  31. </Setter.Value>
  32. </Setter>
  33. </Trigger>
  34. </Style.Triggers>
  35. </Style>
  36. </ResourceDictionary>
  37. </Application.Resources>
  38. </prism:PrismApplication>