-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
🚧 work in progressWork that is current in progressWork that is current in progressarea-DarkModeIssues relating to Dark Mode featureIssues relating to Dark Mode feature
Description
.NET version
.NET 10 SDK build: 10.0.100-preview.7.25380.105
Did it work in .NET Framework?
Not tested/verified
Did it work in any of the earlier releases of .NET Core or .NET 5+?
Occurs when DarkMode feature involved
Issue description
When the application is in Dark Mode, the contrast of focusing items in CheckedListBox/PropertyGrid is insufficient.
This issue does not occur in Classic Mode.
Dark Mode:


Classic Mode:

Steps to reproduce
- Create Winforms .NET application with targeting .NET 10
- Add CheckedListBox and PropertyGrid controls in form designer
- Set the SelectedObject property to Form in propertyGrid1's properties
- Set app under Dark mode in program.cs file:
#pragma warning disable WFO5001
Application.SetColorMode(SystemColorMode.Dark);
#pragma warning restore WFO5001
- Build and run project
- Click any items to focus in CheckedListBox/PropertyGrid to observe
Metadata
Metadata
Assignees
Labels
🚧 work in progressWork that is current in progressWork that is current in progressarea-DarkModeIssues relating to Dark Mode featureIssues relating to Dark Mode feature