Accessibility [Inspect]: Cannot find the RichEdit control of the "Text" property in UIA structure of a PropertyGrid control
See original GitHub issue- .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?: Yes
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.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
RichEditControl DataBinding doesn't work with Text-Property
I have a rich edit and a grid control bound to a data table as binding source. I used the text property of...
Read more >How to edit CollectionEditor in PropertyGrid to customize ...
I am using a PropertyGrid. The grid itself uses a converter to select the proper control to display based on type as such:...
Read more >BinaryEditor class doesn't work for PropertyGrid control in . ...
Workaround Explained. First Step, mark the property with either TypeConverterAttribute or EditorAttribute, or both.
Read more >A Complete Guide to Inspecting .NET Objects Using ...
This article explains the usage of the Syncfusion PropertyGrid control for WPF to inspect .NET objects as well as the customization the ...
Read more >custom item in property grid in UI for WinForms
Hi. Im tring to design a form like this to display some info. prop3 is a list of N string where N is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thank you for the points @merriemcgaw and @weltkante ! The solution works for all drop-down editors. But popup inner accessibility and accessible hierarchy is the responsibility of editor’s developer.
Verified the issue with latest .NET 6.0.100-preview.1.21080.4 from Release/6.0.1xx-preview1 branch, it is fixed. Now RichEdit control (when shown) appears in the PropertyGrid control’s children hierarchy.