Skip to content

Dark Mode: The ForeColor & BackColor properties are not working for the controls #13813

@Zheng-Li01

Description

@Zheng-Li01

.NET version

.NET SDK 10.0.100-rc.1.25414.103

Did it work in .NET Framework?

No

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

Yes, The issue reproduce on .NET SDK 10.0.100-preview.6.25358.103 build, not reproduce on .NET SDK 10.0.100-preview.5.25277.114
Image

Issue description

The ForeColor & BackColor properties are not working for the controls:
The ForeColor is not working for Button control
The BackColor is not working for Button, TextBox, DomainUpDown, NumericUpDown, RichTextBox, MaskedTextBox contorls

.NET SDK 10.0.100-preview.6.25358.103
Image

.NET SDK 10.0.100-preview.5.25277.114
Image

Steps to reproduce

  1. Open the attached application
    ReproApplication.zip
  2. Build & run the project
  3. Observe the results

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions