Skip to content

[Dark Mode] The ListView cannot display the items when setting the Enable as false #14210

@Zheng-Li01

Description

@Zheng-Li01

.NET version

11.0.0-alpha.1.26062.101

Did it work in .NET Framework?

Not tested/verified

Did it work in any of the earlier releases of .NET Core or .NET 5+?

No, the issue also can reproduce on .NET 10.0 & .NET 9.0

Issue description

The ListView cannot display the items when setting the Enable as false in Dark mode

Image

Steps to reproduce

  1. Create a .NET Winforms project with a ListView control
  2. Add some items for the listView1
  3. Set the Enable as false for the listView1
  4. Set app under Dark mode in program.cs file
    Application.SetColorMode(SystemColorMode.Dark);
  5. Build & run the application

Metadata

Metadata

Assignees

Labels

area-DarkModeIssues relating to Dark Mode feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions