dotnet / dotnet/winforms

[DarkMode] MDIParent MainMenuStrip Bitmaps draw with light Colors

Open
#13,475 3 comments 1 reaction 1 assignee Claimed by @KlausLoeffelmann View on GitHub
area-DarkMode
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
20h 23m
Merged PRs (30d)
103

Description

### .NET version

### .NET version
.NET 10.0.100-preview5.25266.103

### Did it work in .NET Framework?

No

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

No

### Did it work in any of the earlier releases of .NET Core or .NET 5+?
No, also repro in .NET 9.0 which it started to be supported.

### Issue description

### Issue description
MDIParent MainMenuStrip Bitmaps draw with light Colors

![Image](https://github.com/user-attachments/assets/0316ba7f-4d4f-45d7-9659-5dfc322a4cc5)

### Steps to reproduce

1. Create a winforms .NET Core project.
2. Enable DarkMode by Application.SetColorMode(SystemColorMode.Dark) in Program.cs file.
3. Build and run MDIParent.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.