dotnet/winforms
Voir sur GitHub[Dark Mode] Different Icon Display for Expanding Nodes with Child Items in TreeView
Open
#11 932 ouverte le 20 août 2024
area-DarkModehelp wanted
Métriques du dépôt
- Stars
- (4 100 stars)
- Métriques de merge PR
- (Merge moyen 14j 22h) (56 PRs mergées en 30 j)
Description
.NET version
9.0.0-rc.1.24414.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: https://github.com/dotnet/winforms/pull/11857
Issue description
The icon for expanding nodes with child items in TreeView appears differently in Dark Mode compared to Classic. Please confirm if this is the expected behavior. Below are the results in Classic and Dark Mode
Classic
Dark Mode
Steps to reproduce
- Create a WinForms .NET Core application with TreeView control.
- Populate the TreeView with a parent node that contains several child nodes.
- Enable DarkMode by Application.SetColorMode(SystemColorMode.Dark) in Program.cs file.
- Run the application.
- Observe the expand icon