Skip to content

ComboBox displays the selected item with a dark blue selection background when DropDownStyle is DropDownList in NET11 mode #14908

Open

Description

@Olina-Zhang

.NET version

.NET11 SDK build: 11.0.100-rc.1.26413.103 + private dlls built from main branch of 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 #14809

Issue description

When a WinForms ComboBox is configured with DropDownStyle = DropDownList and VisualStyleMode = NET11, the selected item(Text area) is rendered with a dark blue background and white text after the drop-down list is closed.

SystemColorMode with Light:
Image
SystemColorMode with Dark:

Image

The selected item remains displayed with this dark blue selection background in the ComboBox text area, which differs from the rendering in VisualStyleMode = Classic.
SystemColorMode with Light:
Image

SystemColorMode with Dark:

Image

Steps to reproduce

  1. Create a WinForms application targeting .NET 11.
  2. Add a ComboBox to the form.
  3. Set DropDownStyle to DropDownList.
  4. Add one or more items to the ComboBox.
  5. Set VisualStyleMode to NET11.
  6. Run the application.
  7. Open the ComboBox and select an item.
  8. Close the drop-down list.

Activity

  1. added
    untriaged
    NewApi-Net11
    on Aug 20, 2026
  2. added
    rendering-or-artifacts-issues
    and removed
    untriaged
    on Aug 21, 2026
  3. added this to the 11.0-rc2 milestone on Aug 21, 2026
  4. KlausLoeffelmann commented on Aug 24, 2026

    @KlausLoeffelmann
    Member

    FWIW, this is by Design. It is the modern-rendered focus indicator. You can tab out of it.
    I would leave it as it is, except someone has issues with it.

    @LeafShi1, @SimonZhao888, @ricardobossan - what's your take here?

  5. SimonZhao888 commented on Aug 25, 2026

    @SimonZhao888
    Member

    @LeafShi1, @SimonZhao888, @ricardobossan - what's your take here?

    I completely agree with you.

  6. LeafShi1 commented on Aug 25, 2026

    @LeafShi1
    Member

    FWIW, this is by Design. It is the modern-rendered focus indicator. You can tab out of it. I would leave it as it is, except someone has issues with it.

    @LeafShi1, @SimonZhao888, @ricardobossan - what's your take here?

    I don't think this is a bug.

    Compared to Classic, the focused state is much clearer in NET11.

    My only concern is that the blue fill looks a bit heavy in Dark Mode, and the text contrast is insufficient. Other than that, I would leave it as-is.

    Image

    I wonder whether a lighter accent fill, combined with a dedicated focus indicator such as an accent border, would make the state clearer while remaining consistent with the direction we're taking for other controls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

NewApi-Net11rendering-or-artifacts-issues

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions