Skip to content

[DarkMode] the checked/unchecked items cannot be seen after clicking the CustomComCtl32Button button in DarkMode for WinformsControlTest project #14347

@Zheng-Li01

Description

@Zheng-Li01

.NET version

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+?

Repro in Release/10.0 branch, not reproduce Release/9.0 branch

Issue description

The checked/unchecked items cannot be seen after clicking the CustomComCtl32Button button in DarkMode

NewIssue.mp4
Image

Steps to reproduce

Test the sample app: WinformsControlTest in Winforms repo, then clicking the CustomComCtl32Button button in DarkMode

Or using attached project
ReproduceApplication.zip

More info:
The issue can reproduce when setting the FlatStyle as Standard/System, not reproduce when setting the FaltStyle as Flat/Popup.

Metadata

Metadata

Assignees

Labels

area-DarkModeIssues relating to Dark Mode feature

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions