Skip to content

Dark Mode: The BackgroundImage of Button is not displayed when the FlatStyle is Standard in DrakMode #13823

@Zheng-Li01

Description

@Zheng-Li01

.NET version

.NET SDK 10.0.100.rc.2.25419.103

Did it work in .NET Framework?

No

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

The issue also can reproduce on .NET SDK 10.0 Prevview7. there has the known issue #13720 to track. after the fix of PR #13809, the issue has been fixed when the FlatStyle is Flat/Popup, but still reproduce when the FaltStyle is Standard

Issue description

The BackgroundImage of Button is not displayed when the FlatStyle is Standard in DrakMode

.NET 10.0 rc.2 & rc.1 results:
Image

.NET 10.0 preview7 results:
Image

.NET 9.0 results:
Image

Steps to reproduce

  1. Create a winforms app, a form and a button with a background image.
  2. Run the project in DarkMode
  3. Observe results

Metadata

Metadata

Assignees

Labels

💥 regression-releaseRegression from a public releasearea-DarkModeIssues relating to Dark Mode featureuntriagedThe team needs to look at this issue in the next triage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions