Skip to content

Commit 075844a

Browse files
committed
#1036 setting IsFocusEngagmentEnable
1 parent f772aa6 commit 075844a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Microsoft.Toolkit.Uwp.UI.Controls/GridSplitter/GridSplitter.Events.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ private void GridSplitter_Loaded(object sender, RoutedEventArgs e)
4545

4646
Element = gripper;
4747

48-
KeyDown += Gripper_KeyDown;
48+
gripper.KeyDown += Gripper_KeyDown;
4949

5050
var hoverWrapper = new GripperHoverWrapper(
5151
CursorBehavior == SplitterCursorBehavior.ChangeOnSplitterHover

Microsoft.Toolkit.Uwp.UI.Controls/GridSplitter/GridSplitterGripper.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ internal GridSplitterGripper(GridSplitter.GridResizeDirection gridSplitterDirect
4646
ResizeDirection = gridSplitterDirection;
4747
HorizontalContentAlignment = HorizontalAlignment.Stretch;
4848
VerticalContentAlignment = VerticalAlignment.Stretch;
49-
//IsTabStop = true;
50-
//UseSystemFocusVisuals = true;
49+
IsTabStop = true;
50+
UseSystemFocusVisuals = true;
51+
IsFocusEngagementEnabled = true;
5152
}
5253

5354
internal GridSplitterGripper(

0 commit comments

Comments
 (0)