Skip to content

Empty ListViewGroups are displayed in the Inspect tree #4779

@SergeySmirnov-Akvelon

Description

@SergeySmirnov-Akvelon

.NET Core Version:

  • 6.0.100-preview.2.21155.3

Have you experienced this same bug with .NET Framework?:

Minimal repro:

  1. Create an app with a ListView
  2. Add several ListViewGroup to the ListView
  3. Add ListViewItem related to the first group to the ListView
  4. Run the application
  5. Run the Inspect

Actual behavior
Invisible (empty) ListViewGroups are displayed in the Inspect tree
Issue-4779-actual

Expected behavior
Invisible (empty) ListViewGroups should not be displayed in the Inspect tree
Issue-4779-expected

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions