DataGridViewDarkModeTheming: DataGridViewComboBoxColumn and DataGridViewButtonColumn do not appear to fully adopt dark mode colors after enabling dark mode theming
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 1.1k
- Avg merge
- 1d 13m
- Merged PRs (30d)
- 85
Description
### .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 https://github.com/dotnet/winforms/issues/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.
### Steps to reproduce
1. Open and extract demo project
[WinFormsApp14266.zip](https://github.com/user-attachments/files/32051793/WinFormsApp14266.zip)
2. Run the application to observe
Contributor guide
Assessment
This issue has not been assessed yet.