App.xaml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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/Themes/Alias_Light.xaml" />
  11. <ResourceDictionary Source="pack://application:,,,/PDF Office;component/Themes/Global.xaml" />
  12. <ResourceDictionary Source="pack://application:,,,/PDF Office;component/Styles/TabControlStyle.xaml" />
  13. <ResourceDictionary Source="pack://application:,,,/PDF Office;component/Styles/ComboxStyle.xaml" />
  14. <ResourceDictionary Source="pack://application:,,,/PDF Office;component/Styles/ListBoxStyle.xaml" />
  15. <ResourceDictionary Source="pack://application:,,,/PDF Office;component/Styles/WindowsStyle.xaml" />
  16. <ResourceDictionary Source="pack://application:,,,/PDF Office;component/Styles/CustomBtnStyle.xaml" />
  17. <ResourceDictionary Source="pack://application:,,,/PDF Office;component/Styles/ContainerStyles/ComboxStyle/ComboxItemStyle.xaml" />
  18. <ResourceDictionary Source="pack://application:,,,/PDF Office;component/Styles/PathButtonStyle.xaml"/>
  19. <ResourceDictionary Source="pack://application:,,,/PDF Office;component/Styles/ContextMenuTextEditStyle.xaml"/>
  20. <!-- Enable show customctrol's correctly UI in Xaml Designer -->
  21. <ResourceDictionary Source="pack://application:,,,/PDF Office;component/Themes/Generic.xaml" />
  22. </ResourceDictionary.MergedDictionaries>
  23. <Style TargetType="{x:Type Hyperlink}">
  24. <Setter Property="Foreground" Value="#477EDE" />
  25. <Setter Property="TextBlock.TextDecorations" Value="{x:Null}" />
  26. <Style.Triggers>
  27. <Trigger Property="IsMouseOver" Value="True">
  28. <Setter Property="Foreground" Value="#6B97E4" />
  29. <!-- 在鼠标悬停显示下划线 -->
  30. <Setter Property="TextBlock.TextDecorations">
  31. <Setter.Value>
  32. <TextDecorationCollection>
  33. <TextDecoration Location="Underline" />
  34. </TextDecorationCollection>
  35. </Setter.Value>
  36. </Setter>
  37. </Trigger>
  38. </Style.Triggers>
  39. </Style>
  40. </ResourceDictionary>
  41. </Application.Resources>
  42. </prism:PrismApplication>