How to fix the title of the Collection Editor for the custom control in NET Core?
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 1.1k
- Avg merge
- 20h 23m
- Merged PRs (30d)
- 103
Description
### Environment
Visual Studio Professional 2022 - version 17.14.19
### .NET version
.NET 8.0
### Did this work in a previous version of Visual Studio and/or previous .NET release?
No
### Issue description
When using the default CollectionEditor for a property that is a collection of System.Windows.Forms.Control-derived types, the editor window's title is displayed incorrectly. Instead of showing a title based on the collection's item type (e.g., "MyChildControl Collection Editor"), it displays the internal proxy type name: "ControlProxy`1 Collection Editor".
Sample - [CustomControl_Sample.zip](https://github.com/user-attachments/files/23547374/CustomControl_Sample.zip)
### Steps to reproduce
- Open the sample.
- Add the child items for the MyParentControl using the ChildItems property.
- Notice the Collection Editor's title is "ControlProxy`1 CollectionEditor" instead of "MyChildControl CollectionEditor".
### Diagnostics
```text
```
Contributor guide
Assessment
This issue has not been assessed yet.