468,134 Members | 1,281 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,134 developers. It's quick & easy.

ListView control, virtual mode, ListViewItems shown

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?
Jun 27 '08 #1
1 2217
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.

"Victor" wrote:
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?
Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Rob Richardson | last post: by
5 posts views Thread by ToddH | last post: by
5 posts views Thread by XiScO | last post: by
3 posts views Thread by Michael.Suarez | last post: by
12 posts views Thread by garyusenet | last post: by
9 posts views Thread by Kadett | last post: by
27 posts views Thread by didacticone | last post: by
1 post views Thread by gcdp | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.