ListView control, virtual mode, ListViewItems shown

  • Thread starter Thread starter Victor
  • Start date Start date
V

Victor

Hi,
How to get a list of ListViewItems that are currently shown in a Windows
Form ListView control when that that control is in a virtual mode?
 
Sorry, I was confused by the message:

"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.", but

ListView.ListViewItemCollection items = this.ListView1.Items;

just works fine.
 
Back
Top