Dark Mode: The BackgroundImage of Button is not displayed when the FlatStyle is Standard in DrakMode
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 1.1k
- Avg merge
- 1d 13m
- Merged PRs (30d)
- 85
Description
### .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 https://github.com/dotnet/winforms/issues/13720 to track. after the fix of PR https://github.com/dotnet/winforms/pull/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:**
**.NET 10.0 preview7 results:**
**.NET 9.0 results:**
### 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
Contributor guide
Assessment
This issue has not been assessed yet.