dotnet / dotnet/winforms

DemoConsole app: Unexpected warning pops up when clicking 'Edit Items...' command link for ListBox in Properties window

Open
#14,063 0 comments 1 reaction 1 assignee Assigned to @Copilot View on GitHub
area-DesignerSupport untriaged
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
20h 23m
Merged PRs (30d)
103

Description

### .NET version

main branch of Winforms repo

### Did it work in .NET Framework?

Yes

### Did it work in any of the earlier releases of .NET Core or .NET 5+?

No, still repro in Release/9.0 branch when ListBox was added in DemoConsole app, no this control in DemoConsole app on Release/8.0 branch

### Issue description

In [DemoConsole](https://github.com/dotnet/winforms/tree/main/src/System.Windows.Forms/tests/IntegrationTests/DesignSurface/DemoConsole) test app of WinForms repo, unexpected warning pops up when clicking 'Edit Items...' command link for ListBox in Properties window

Image

**Expected Result:** for clicking Items property

Image

In .NET framework 4.8.1 for DemoConsole app, there hasn't 'Edit Items...' command link for ListBox in Properties window

### Steps to reproduce

Test the sample app: [DemoConsole](https://github.com/dotnet/winforms/tree/main/src/System.Windows.Forms/tests/IntegrationTests/DesignSurface/DemoConsole) in Winforms repo, go to **TabControl and TableLayoutPanel** page to find ListBox control

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.