Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Dark Mode] the combobox refuses dark theme when on first tabpage of a tabcontrol #14107

@Zheng-Li01

Description

@Zheng-Li01

.NET version

latest .NET 10.0 build

Did it work in .NET Framework?

No

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

This is a regression issue, not reproduce .NET 9.0

Issue description

The combobox refuses dark theme when on first tabpage of a tabcontrol
Expected Results:
Image

Actual Results:
Image

Steps to reproduce

  1. Create a .NET winforms project with a TabCpntrol control
  2. Add a Combobox contorl in the tabPage1
  3. Set app under Dark mode in program.cs file
    Application.SetColorMode(SystemColorMode.Dark);
  4. Run the application

More info:

  1. The issue can reproduce when setting the DropDownStyle as DropDown/DropDownList, not reproduce when setting the DropDownStyle as Sample

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions