Skip to content

Commit d51a06f

Browse files
do not display the checkered keyboard focus rectangle around the DialogHost when the user happens to dismiss a dialog popup using a keyboard gesture (#2265)
1 parent d6a7bf8 commit d51a06f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.DialogHost.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
</Style>
1414

1515
<Style TargetType="{x:Type wpf:DialogHost}">
16+
<Setter Property="FocusVisualStyle" Value="{x:Null}" />
1617
<Setter Property="DialogMargin" Value="35" />
1718
<Setter Property="wpf:ShadowAssist.ShadowDepth" Value="Depth5" />
1819
<Setter Property="DialogTheme" Value="Inherit" />

0 commit comments

Comments
 (0)