App.xaml 2.2 KB

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