question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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.

image

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:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
M-Lipincommented, Mar 12, 2020

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.

1reaction
Marie-Shicommented, Feb 1, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found