-
.NET Core Version:
.NET SDK 5.0.100-rc.1.20377.3
-
More Info:
This is not a regression issue, it also reproduce on .NET Core 3.1.
-
Have you experienced this same bug with .NET Framework?:
No
Problem description:
When setting ComboBox's DropDownStyle as DropDown or DropDownList, the list item of comboBox doesn't display below Form1 window node, it incorrectly displayed below Desktop1 panel node.

Expected behavior:
The list items of comboBox's UIA hierarchy should display below Form1 window node.

Minimal repro:
- Launch Inspect tool.
- Create WinForms core project with a comboBox control.
- Set the DropDownStyle property of comboBox as DropDown or DropDownList.
- Run the project.
- Focus on the list items of comboBox, then observe the UIA hierarchy in inspect tree.