dotnet / dotnet/winforms

The tooltip text is not in DarkMode for the items in the propertyGrid control

Open
#15,083 0 comments 0 reactions 0 assignees View on GitHub
area-DarkMode untriaged
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
1d 13m
Merged PRs (30d)
85

Description

### .NET version

.NET 11 11.0.0-rc.2.26458.109

### Did it work in .NET Framework?

Not tested/verified

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

The issue can reproduce from .NET 9 to .NET 11 since the DarkMode feature support

### Issue description

The tooltip text is not in DarkMode for the items in the propertyGrid control
Image

### Steps to reproduce

1. Create a WinForms .NET application with PropertyGird control
2. Set form1 as SelectedObject for the propertyGrid1
3. Enable DarkMode by Application.SetColorMode(SystemColorMode.Dark) in Program.cs file
4. Run the application
5. Go through the items in the propertyGrid1 to observe the tooltip text

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in a WinForms .NET application using the PropertyGrid control, with Application.SetColorMode(SystemColorMode.Dark) in Program.cs and a form assigned as SelectedObject. Trace the PropertyGrid tooltip rendering and verify that the tooltip text uses a readable dark-mode color when hovering over items.

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
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.