Skip to content

DataGridViewDarkModeTheming: DataGridViewComboBoxColumn and DataGridViewButtonColumn do not appear to fully adopt dark mode colors after enabling dark mode theming #15077

Open

Description

@Amy-Li03

.NET version

.NET 11 RC2 build: 11.0.100-rc.2.26458.109 + built private dls from the 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+?

No, this issue was found after #14266 fixed.

Issue description

After enabling the AppContext quirk switch: System.Windows.Forms.DataGridViewDarkModeTheming, some DataGridView cell types do not appear to fully adopt dark mode colors.
The text in the DataGridViewComboBoxColumn and DataGridViewButtonColumn appear in dark color instead of white;
The backColor in the DataGridViewButtonColumn appears in white color instead of Black.

Image

Steps to reproduce

  1. Open and extract demo project
    WinFormsApp14266.zip
  2. Run the application to observe

Activity

  1. added
    untriaged
    on Sep 10, 2026
  2. added
    area-DarkMode
    on Sep 10, 2026
  3. self-assigned this
    on Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-DarkModeuntriaged

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions