Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessibility [Inspect]: Cannot find the RichEdit control of the "Text" property in UIA structure of a PropertyGrid control #2704

M-Lipin opened this issue Jan 13, 2020 · 1 comment


Copy link

@M-Lipin M-Lipin commented Jan 13, 2020

  • .NET Core Version:

.NET Core 5.0.0-alpha.1.19564.1 (also reproduces in earlier versions of .NET Core WinForms.

  • Have you experienced this same bug with .NET Framework?:

Problem description:

The issue is that RichEdit control is not shown in the UIA hierarchy of PropertyGrid control children.


Expected behavior:
RichEdit control (when shown) should appear in the PropertyGrid control's children hierarchy.

Minimal repro:

  • Create WinForms app with PropertyGrid and Button control.
  • Associate the button with PropertyGrid as a selected object.
  • Run the app, type something in the RichEdit control control (this is a button's text input control) and inpsect the button with the Inspect tool. Observe that the input is not in the UIA hierarchy.

This comment has been minimized.

Copy link

@weltkante weltkante commented Jan 13, 2020

Does this work for other popup/dropdown editors in the property grid? (Control editors, including custom editors, have the option to opt-in into either a dropdown or a popup.) If the problem isn't just isolated to RichTextBox it might be worth looking for a general solution so user defined editors can also profit from the solution.

If the solution to this accessibility issue requires certain code in the editor itself it might be worth documenting it, so programmers of user-defined editors can also solve this problem for their own editor implementations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.