Skip to content

Commit 8829b82

Browse files
Merge pull request #3823 from michael-hawker/bring-gridsplitter-fix
Don't have the GridSplitterHandle show in UIA tree
2 parents 40e0e0a + 69b2c1d commit 8829b82

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)