dotnet/winforms
View on GitHub[Dark Mode] The nodes of TreeView not in dark mode when editing it
Open
#12,042 opened on Sep 4, 2024
:construction: work in progressarea-DarkModehelp wanted
Description
.NET version
.NET 9.0.100-rc.2.24453.35
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: https://github.com/dotnet/winforms/pull/11857
Issue description
The nodes of TreeeView not in dark mode when editing it, and the issue also can reproduce ItemView item when editing it.
Steps to reproduce
- Create a .NET Winforms project with TreeView control.
- Add some node for treeview1, and set the LabelEdit value as True.
- Enable DarkMode by Application.SetColorMode(SystemColorMode.Dark) in Program.cs file
- Build and run the application
- Edit the node, and observe the results.
Reproduce application: ReproduceApplication.zip