App.xaml 2.0 KB

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