1
1
<ResourceDictionary xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2
2
xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml" >
3
+ <ResourceDictionary .MergedDictionaries>
4
+ <ResourceDictionary Source =" pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Hyperlink.xaml" />
5
+ </ResourceDictionary .MergedDictionaries>
3
6
<Style TargetType =" {x:Type TextBlock}" x : Key =" MaterialDesignCaptionTextBlock" >
7
+ <Style .Resources>
8
+ <Style TargetType =" Hyperlink" BasedOn =" {StaticResource MaterialDesignCaptionHyperlink}" />
9
+ </Style .Resources>
4
10
<Setter Property =" FontSize" Value =" 12" />
5
11
<Setter Property =" FontWeight" Value =" Regular" />
6
12
</Style >
7
13
<Style TargetType =" {x:Type TextBlock}" x : Key =" MaterialDesignBody1TextBlock" >
14
+ <Style .Resources>
15
+ <Style TargetType =" Hyperlink" BasedOn =" {StaticResource MaterialDesignBody1Hyperlink}" />
16
+ </Style .Resources>
8
17
<Setter Property =" FontSize" Value =" 13" />
9
18
<Setter Property =" FontWeight" Value =" Regular" />
10
19
</Style >
11
20
<Style TargetType =" {x:Type TextBlock}" x : Key =" MaterialDesignBody2TextBlock" >
21
+ <Style .Resources>
22
+ <Style TargetType =" Hyperlink" BasedOn =" {StaticResource MaterialDesignBody2Hyperlink}" />
23
+ </Style .Resources>
12
24
<Setter Property =" FontSize" Value =" 13" />
13
25
<Setter Property =" FontWeight" Value =" Medium" />
14
26
</Style >
15
27
<Style TargetType =" {x:Type TextBlock}" x : Key =" MaterialDesignSubheadingTextBlock" >
28
+ <Style .Resources>
29
+ <Style TargetType =" Hyperlink" BasedOn =" {StaticResource MaterialDesignSubheadingHyperlink}" />
30
+ </Style .Resources>
16
31
<Setter Property =" FontSize" Value =" 15" />
17
32
<Setter Property =" FontWeight" Value =" Regular" />
18
33
</Style >
19
34
<Style TargetType =" {x:Type TextBlock}" x : Key =" MaterialDesignTitleTextBlock" >
35
+ <Style .Resources>
36
+ <Style TargetType =" Hyperlink" BasedOn =" {StaticResource MaterialDesignTitleHyperlink}" />
37
+ </Style .Resources>
20
38
<Setter Property =" FontSize" Value =" 20" />
21
39
<Setter Property =" FontWeight" Value =" Medium" />
22
40
</Style >
23
41
<Style TargetType =" {x:Type TextBlock}" x : Key =" MaterialDesignHeadlineTextBlock" >
42
+ <Style .Resources>
43
+ <Style TargetType =" Hyperlink" BasedOn =" {StaticResource MaterialDesignHeadlineHyperlink}" />
44
+ </Style .Resources>
24
45
<Setter Property =" FontSize" Value =" 24" />
25
46
<Setter Property =" FontWeight" Value =" Regular" />
26
47
</Style >
27
48
<Style TargetType =" {x:Type TextBlock}" x : Key =" MaterialDesignDisplay1TextBlock" >
49
+ <Style .Resources>
50
+ <Style TargetType =" Hyperlink" BasedOn =" {StaticResource MaterialDesignDisplay1Hyperlink}" />
51
+ </Style .Resources>
28
52
<Setter Property =" FontSize" Value =" 34" />
29
53
<Setter Property =" FontWeight" Value =" Regular" />
30
54
</Style >
31
55
<Style TargetType =" {x:Type TextBlock}" x : Key =" MaterialDesignDisplay2TextBlock" >
56
+ <Style .Resources>
57
+ <Style TargetType =" Hyperlink" BasedOn =" {StaticResource MaterialDesignDisplay2Hyperlink}" />
58
+ </Style .Resources>
32
59
<Setter Property =" FontSize" Value =" 45" />
33
60
<Setter Property =" FontWeight" Value =" Regular" />
34
61
</Style >
35
62
<Style TargetType =" {x:Type TextBlock}" x : Key =" MaterialDesignDisplay3TextBlock" >
63
+ <Style .Resources>
64
+ <Style TargetType =" Hyperlink" BasedOn =" {StaticResource MaterialDesignDisplay3Hyperlink}" />
65
+ </Style .Resources>
36
66
<Setter Property =" FontSize" Value =" 56" />
37
67
<Setter Property =" FontWeight" Value =" Regular" />
38
68
</Style >
39
69
<Style TargetType =" {x:Type TextBlock}" x : Key =" MaterialDesignDisplay4TextBlock" >
70
+ <Style .Resources>
71
+ <Style TargetType =" Hyperlink" BasedOn =" {StaticResource MaterialDesignDisplay4Hyperlink}" />
72
+ </Style .Resources>
40
73
<Setter Property =" FontSize" Value =" 112" />
41
74
<Setter Property =" FontWeight" Value =" Light" />
42
75
</Style >
43
76
<Style TargetType =" {x:Type TextBlock}" x : Key =" MaterialDesignButtonTextBlock" >
44
77
<Setter Property =" FontSize" Value =" 14" />
45
78
<Setter Property =" FontWeight" Value =" Medium" />
46
- </Style >
79
+ </Style >
47
80
</ResourceDictionary >
0 commit comments