Skip to content

Commit 41e6865

Browse files
committed
Flyout back button foreground should bind to ColorZone
1 parent ce9a47b commit 41e6865

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MaterialDesignThemes.MahApps/Themes/MaterialDesignTheme.MahApps.Flyout.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
Margin="2 4 2 2"
2121
VerticalAlignment="Bottom"
2222
Style="{DynamicResource MaterialDesignToolButton}"
23-
Foreground="{Binding RelativeSource={RelativeSource AncestorType={x:Type Controls:Flyout}}, Path=Foreground}"
23+
Foreground="{Binding RelativeSource={RelativeSource AncestorType={x:Type wpf:ColorZone}}, Path=Foreground}"
2424
FontSize="16"
2525
DockPanel.Dock="Left"
2626
IsCancel="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Controls:Flyout}}, Path=CloseButtonIsCancel}"

0 commit comments

Comments
 (0)