[Dark Mode] ListViewGroup/Subtitle/TaskLink is hard to visible in ListView after enabled SystemColorMode.Dark
.NET version
9.0.0-rc.1.24418.2 + private dlls built 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
ListViewGroup/Subtitle/TaskLink is hard to visible in ListView after enabled SystemColorMode.Dark
Steps to reproduce
- Create a WinForms .NET application with ListView control
- Add ListViewItem, ListViewColumn, ListViewGroup with setting Subtitle/TaskLink property
- Enable DarkMode by Application.SetColorMode(SystemColorMode.Dark) in Program.cs file
- Run the application to observe
Hello, may I take this issue?
@Olina-Zhang @Gulin7 @merriemcgaw Do you see change title color of ListViewGroup is fine redraw the whole of ListViewGroup will tack some time.
https://github.com/user-attachments/assets/6f1fed3f-ff21-4e92-b198-41626267cf44
@KlausLoeffelmann FYI.
Ran into this too, right now the only solution I know is using NM_CUSTOMDRAW to handle drawing group headers manually, other than this the dark mode option is working well, would be great if a fix could be added.