mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
Enable keyboard accessibility for template and custom layout items (#7977)
This commit is contained in:
@@ -211,7 +211,10 @@
|
||||
<Border Margin="8"
|
||||
BorderBrush="{Binding Path=IsSelected, Converter={StaticResource BooleanToBrushConverter}}"
|
||||
Style="{StaticResource templateBackground}"
|
||||
MouseDown="LayoutItem_Click">
|
||||
MouseDown="LayoutItem_Click"
|
||||
Focusable="True"
|
||||
FocusManager.GotFocus="LayoutItem_Focused"
|
||||
KeyDown="LayoutItem_Apply">
|
||||
<DockPanel Margin="0,20,0,0"
|
||||
VerticalAlignment="Stretch"
|
||||
HorizontalAlignment="Stretch"
|
||||
@@ -244,7 +247,10 @@
|
||||
<Border Margin="8"
|
||||
BorderBrush="{Binding Path=IsSelected, Converter={StaticResource BooleanToBrushConverter}}"
|
||||
Style="{StaticResource templateBackground}"
|
||||
MouseDown="LayoutItem_Click">
|
||||
MouseDown="LayoutItem_Click"
|
||||
Focusable="True"
|
||||
FocusManager.GotFocus="LayoutItem_Focused"
|
||||
KeyDown="LayoutItem_Apply">
|
||||
<DockPanel Margin="0,20,0,0"
|
||||
VerticalAlignment="Stretch"
|
||||
HorizontalAlignment="Stretch"
|
||||
|
||||
Reference in New Issue
Block a user