Skip to content

Commit 7c42dd3

Browse files
committed
2 parents e414310 + eda71e1 commit 7c42dd3

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

License renamed to LICENSE

File renamed without changes.

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.Expander.xaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
</VisualStateGroup>
7171
</VisualStateManager.VisualStateGroups>
7272
<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}">
7474
<wpf:PackIcon.RenderTransform>
7575
<TransformGroup>
7676
<ScaleTransform/>
@@ -101,6 +101,7 @@
101101
<ToggleButton Grid.Row="0"
102102
Margin="0 16 0 16"
103103
HorizontalAlignment="Center"
104+
Foreground="{TemplateBinding Foreground}"
104105
IsChecked="{Binding Path=IsChecked, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
105106
Style="{StaticResource MaterialDesignExpanderToggleButton}"
106107
RenderTransformOrigin="0.5,0.5">
@@ -134,6 +135,7 @@
134135
<ToggleButton Grid.Row="0"
135136
Margin="0 16 0 16"
136137
HorizontalAlignment="Center"
138+
Foreground="{TemplateBinding Foreground}"
137139
IsChecked="{Binding Path=IsChecked, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
138140
Style="{StaticResource MaterialDesignExpanderToggleButton}"
139141
RenderTransformOrigin="0.5,0.5">
@@ -173,6 +175,7 @@
173175
<ToggleButton Grid.Column="1"
174176
Margin="16 0 16 0"
175177
VerticalAlignment="Center"
178+
Foreground="{TemplateBinding Foreground}"
176179
IsChecked="{Binding Path=IsChecked, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
177180
Style="{StaticResource MaterialDesignExpanderToggleButton}"/>
178181
<Border BorderBrush="{DynamicResource MaterialDesignDivider}" BorderThickness="0 0 0 1" Grid.ColumnSpan="2" SnapsToDevicePixels="True" />
@@ -200,6 +203,7 @@
200203
<ToggleButton IsChecked="{Binding Path=IsChecked, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
201204
Margin="16 0 16 0"
202205
VerticalAlignment="Center"
206+
Foreground="{TemplateBinding Foreground}"
203207
Style="{StaticResource MaterialDesignExpanderToggleButton}"
204208
RenderTransformOrigin="0.5,0.5"
205209
Grid.Column="1">
@@ -281,6 +285,7 @@
281285
Style="{StaticResource MaterialDesignExpanderDownHeaderStyle}"
282286
TextElement.FontSize="15"
283287
Opacity=".87"
288+
Foreground="{TemplateBinding Foreground}"
284289
Content="{TemplateBinding Header}"
285290
ContentTemplate="{TemplateBinding HeaderTemplate}"
286291
ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}"
@@ -350,4 +355,4 @@
350355
</Setter>
351356
</Style>
352357

353-
</ResourceDictionary>
358+
</ResourceDictionary>

0 commit comments

Comments
 (0)