70
70
</VisualStateGroup >
71
71
</VisualStateManager .VisualStateGroups>
72
72
<wpf : PackIcon Kind =" ChevronDown" Opacity =" .38" x : Name =" ExpandPath" RenderTransformOrigin =" 0.5,0.5"
73
- Height =" 24" Width =" 24" >
73
+ Height =" 24" Width =" 24" Foreground = " {TemplateBinding Foreground} " >
74
74
<wpf : PackIcon .RenderTransform>
75
75
<TransformGroup >
76
76
<ScaleTransform />
101
101
<ToggleButton Grid.Row=" 0"
102
102
Margin =" 0 16 0 16"
103
103
HorizontalAlignment =" Center"
104
+ Foreground =" {TemplateBinding Foreground}"
104
105
IsChecked =" {Binding Path=IsChecked, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
105
106
Style =" {StaticResource MaterialDesignExpanderToggleButton}"
106
107
RenderTransformOrigin =" 0.5,0.5" >
134
135
<ToggleButton Grid.Row=" 0"
135
136
Margin =" 0 16 0 16"
136
137
HorizontalAlignment =" Center"
138
+ Foreground =" {TemplateBinding Foreground}"
137
139
IsChecked =" {Binding Path=IsChecked, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
138
140
Style =" {StaticResource MaterialDesignExpanderToggleButton}"
139
141
RenderTransformOrigin =" 0.5,0.5" >
173
175
<ToggleButton Grid.Column=" 1"
174
176
Margin =" 16 0 16 0"
175
177
VerticalAlignment =" Center"
178
+ Foreground =" {TemplateBinding Foreground}"
176
179
IsChecked =" {Binding Path=IsChecked, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
177
180
Style =" {StaticResource MaterialDesignExpanderToggleButton}" />
178
181
<Border BorderBrush =" {DynamicResource MaterialDesignDivider}" BorderThickness =" 0 0 0 1" Grid.ColumnSpan=" 2" SnapsToDevicePixels =" True" />
200
203
<ToggleButton IsChecked =" {Binding Path=IsChecked, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
201
204
Margin =" 16 0 16 0"
202
205
VerticalAlignment =" Center"
206
+ Foreground =" {TemplateBinding Foreground}"
203
207
Style =" {StaticResource MaterialDesignExpanderToggleButton}"
204
208
RenderTransformOrigin =" 0.5,0.5"
205
209
Grid.Column=" 1" >
281
285
Style =" {StaticResource MaterialDesignExpanderDownHeaderStyle}"
282
286
TextElement.FontSize=" 15"
283
287
Opacity =" .87"
288
+ Foreground =" {TemplateBinding Foreground}"
284
289
Content =" {TemplateBinding Header}"
285
290
ContentTemplate =" {TemplateBinding HeaderTemplate}"
286
291
ContentTemplateSelector =" {TemplateBinding HeaderTemplateSelector}"
350
355
</Setter >
351
356
</Style >
352
357
353
- </ResourceDictionary >
358
+ </ResourceDictionary >
0 commit comments