DataGridComboBoxColumn looks wrong in dark mode
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 9.6k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
DataGridComboBoxColumn appears with white background in dark mode. Since the foreground color is white, the texts cannot be read. The problem doesn't occur in light mode.
To Reproduce
Add a DataGridComboBoxColumn in a ui:DataGrid and view the application in light mode.
Expected behavior
The background of the ComboBox displayed with DataGridComboBoxColumn should appear with a dark background color in dark mode.
Screenshots
OS version
Windows 11 Pro 22H2 22621.3085
.NET version
.NET 8.0
WPF-UI NuGet version
3.0.0
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names DataGridComboBoxColumn and ui:DataGrid but no files or tests. First reproduce the control in dark mode on the stated WPF/.NET setup, then trace the relevant theme or control entry points; done means the ComboBox has a dark background and its white text is readable without breaking light 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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100