Skip to content

Commit 69b2c1d

Browse files
mrlaceymichael-hawker
authored andcommitted
Don't have the GridSplitterHandle show in UIA tree
For #3399
1 parent 40e0e0a commit 69b2c1d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ private void CreateGripperDisplay()
6161
Foreground = GripperForeground,
6262
Text = _resizeDirection == GridResizeDirection.Columns ? GripperBarVertical : GripperBarHorizontal
6363
};
64+
_gripperDisplay.SetValue(
65+
Windows.UI.Xaml.Automation.AutomationProperties.AccessibilityViewProperty,
66+
Windows.UI.Xaml.Automation.Peers.AccessibilityView.Raw);
6467
}
6568
}
6669

0 commit comments

Comments
 (0)