File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
MaterialDesignThemes.Wpf/Themes Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 53
53
VerticalAlignment =" Center"
54
54
/>
55
55
<controlzEx : PopupEx x : Name =" PART_Popup" IsOpen =" {Binding RelativeSource={RelativeSource TemplatedParent}, Path=IsPopupOpen, Mode=TwoWay}"
56
- CustomPopupPlacementCallback =" {Binding RelativeSource={RelativeSource TemplatedParent}, Path=PopupPlacementMethod}"
57
- HorizontalOffset =" 5"
58
- VerticalOffset =" 5"
59
- PlacementTarget =" {Binding ElementName=PART_Toggle}"
60
- Placement =" Custom"
61
- PopupAnimation =" Fade"
62
- AllowsTransparency =" True" >
56
+ CustomPopupPlacementCallback =" {Binding RelativeSource={RelativeSource TemplatedParent}, Path=PopupPlacementMethod}"
57
+ HorizontalOffset =" 5"
58
+ VerticalOffset =" 5"
59
+ PlacementTarget =" {Binding ElementName=PART_Toggle}"
60
+ Placement =" Custom"
61
+ PopupAnimation =" Fade"
62
+ AllowsTransparency =" True" >
63
63
<wpf : Card Content =" {TemplateBinding PopupContent}" ContentTemplate =" {TemplateBinding PopupContentTemplate}"
64
+ Foreground =" {DynamicResource MaterialDesignBody}"
64
65
FontSize =" 15"
65
66
FontWeight =" Regular"
66
67
Padding =" 0 8 0 8"
67
- RenderOptions.ClearTypeHint=" Enabled"
68
+ RenderOptions.ClearTypeHint=" Enabled"
68
69
Margin =" 5" >
69
70
<wpf : Card .Resources>
70
71
<Style TargetType =" {x:Type Button}" >
71
72
<Setter Property =" VerticalContentAlignment" Value =" Bottom" />
72
73
<Setter Property =" HorizontalContentAlignment" Value =" Left" />
73
74
<Setter Property =" Padding" Value =" 16 0 16 16" />
75
+ <Setter Property =" Foreground" Value =" {DynamicResource MaterialDesignBody}" />
74
76
<Setter Property =" Template" >
75
77
<Setter .Value>
76
78
<ControlTemplate TargetType =" {x:Type Button}" >
You can’t perform that action at this time.
0 commit comments