Skip to content

Commit 2c1f803

Browse files
authored
Disables AccessKeys for ListBoxItems. (#1674)
References #1667.
1 parent ff52262 commit 2c1f803

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.ListBox.xaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,8 @@
273273
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
274274
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
275275
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
276-
Padding="{TemplateBinding Padding}"/>
276+
Padding="{TemplateBinding Padding}"
277+
RecognizesAccessKey="False"/>
277278
</Grid>
278279
</Border>
279280
<ControlTemplate.Triggers>

0 commit comments

Comments
 (0)