Description
.NET version
The latest main branch of Winforms repo
Did it work in .NET Framework?
Not tested/verified
Did it work in any of the earlier releases of .NET Core or .NET 5+?
This is a regression issue, cannot reproduce on release/10.0-preview5 branch
Issue description
In DemoConsole test app of WinForms repo that the open button cannot be seen in TreeView Tasks dialog in Dark Mode
Steps to reproduce
- Find the sample app: DemoConsole in Winforms repo
- Change it to .NET targeting only from Multi-targets
- Enable Dark mode by adding below code lines in the Program.cs file under DemoConsole project
#pragma warning disable WFO5001
Application.SetColorMode(SystemColorMode.Dark);
#pragma warning restore WFO5001
- Run DemoConsole app
- Open the TreeView Tasks dialog under Use Grid(Snap to the grid) tab
- Observe the open button cannot be seen in TreeView Tasks dialog in Dark Mode
More info:
The issue can reproduce all contorls which have the open button in the Tasks dialog, such as PictureBox, DataGidView etc.