Skip to content

ListView is in virtual mode throws IOE #3962

@SergeySmirnov-Akvelon

Description

@SergeySmirnov-Akvelon
  • .NET Core Version:
    .NET SDK 5.0.100-rc.1.20420.14

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

Minimal repro:

  1. Create application with ListView in virtual mode
  2. Run application
  3. Select any item in ListView

ListViewVirtualMode

Expected behavior:
Exception should not be displayed.

Actual behavior:
'When the ListView is in virtual mode, you cannot enumerate through the ListView items collection using an enumerator or call GetEnumerator. Use the ListView items indexer instead and access an item by index value.' exception is displayed

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions