Description
.NET version
.NET 10.0.100-preview.2.25118.3
Did it work in .NET Framework?
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
The Form title bar is white color when the MDIParent1 MainMenuStrip property is set to none.
darmdi.mp4
Steps to reproduce
- Create a winforms .NET Core project.
- Enable DarkMode by Application.SetColorMode(SystemColorMode.Dark) in Program.cs file.
- Ctrl+Shift+A to add a MDI Parent Form.
- Set MDIParent1 MainMenuStrip property to none.
- Build and run MDIParent1.
- Click File -> New, select Window0's Maximize button.
More Info:
- This issue also repro when click MDI Parent button in WinformsControlTest app.