Skip to content

[Dark Mode] The CheckBox/RadioButton cannot back to normal status when switching the Appearance property in propertyGrid #14191

@Zheng-Li01

Description

@Zheng-Li01

.NET version

11.0.0-alpha.1.26055.114

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 on .NET 10.0, not reproduce on .NET 9.0

Issue description

The CheckBox/RadioButton cannot back to normal status when switching the Appearance property in propertyGrid

.NET 11 & .NET 10.0 Results:

NewIssue.mp4

.NET 9.0 Results:

90Results.mp4

Steps to reproduce

  1. Create a .NET winforms project with CheckBox & PropertyGrid controls
  2. Select the checkBox1as object for the propertyGrid1
  3. Set app under Dark mode in program.cs file
    Application.SetColorMode(SystemColorMode.Dark);
  4. Run the application
  5. Switch the Appearance between Normal and Button in propertyGrid

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions