dotnet / dotnet/winforms

The ComboBox have the BackColor after setting DropDownStyle as DropDownList in NET11 mode

Open
#14,907 1 comment 0 reactions 0 assignees View on GitHub
NewApi-Net11 rendering-or-artifacts-issues
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
1d 13m
Merged PRs (30d)
85

Description

### .NET version

.NET 11.0.0-rc.1.26413.103 + Private dlls built from main branch of dotnet/winforms repo

### Did it work in .NET Framework?

Not tested/verified

### Did it work in any of the earlier releases of .NET Core or .NET 5+?
Not support, new feature of https://github.com/dotnet/winforms/pull/14809

### Issue description

The ComboBox have the backcolor after setting DropDownStyle as DropDownList in NET11 mode

Image

### Steps to reproduce

1. Extract & build the attached project
2. Observe the BackColor for the comboxbox with DropDownStyle as DropDownList in NET11 mode
[VerifyCombobox.zip](https://github.com/user-attachments/files/31247284/VerifyCombobox.zip)

Contributor guide

Open the contributing guide

Research direction

Start by extracting and building VerifyCombobox.zip, then reproduce the ComboBox behavior in .NET 11 with DropDownStyle set to DropDownList. Trace the WinForms ComboBox handling for DropDownStyle and BackColor to identify why the displayed color is incorrect; done means the reproduced control shows the expected BackColor in NET11 mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.