Closed
Description
.NET version
9.0.0-rc.1.24415.1 + build private dll from winforms repo main branch
Did it work in .NET Framework?
No
Did it work in any of the earlier releases of .NET Core or .NET 5+?
This is a new feature Dark Mode: #11857
Issue description
Dark Mode:
PrintPreviewControl does not display correctly after setting the background to black
Classic Mode:
PrintPreviewControl can be displayed correctly after the background is set to black
Steps to reproduce
- Create a WinForms .NET Core application with PrintPreviewControl control
- PrintPreviewControl backcolor is set to black
- Enable DarkMode by Application.SetColorMode(SystemColorMode.Dark) in Program.cs file
- Run the application