dotnet/winforms

[Dark Mode] The nodes of TreeView not in dark mode when editing it

Open

#12,042 建立於 2024年9月4日

在 GitHub 查看
 (2 留言) (0 反應) (1 負責人)C# (922 fork)batch import
:construction: work in progressarea-DarkModehelp wanted

倉庫指標

Star
 (4,100 star)
PR 合併指標
 (平均合併 14天 22小時) (30 天內合併 56 個 PR)

描述

.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. image GHNewIssue

Steps to reproduce

  1. Create a .NET Winforms project with TreeView control.
  2. Add some node for treeview1, and set the LabelEdit value as True.
  3. Enable DarkMode by Application.SetColorMode(SystemColorMode.Dark) in Program.cs file
  4. Build and run the application
  5. Edit the node, and observe the results.

Reproduce application: ReproduceApplication.zip

貢獻者指南