Click here to Skip to main content
15,899,475 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to filter a ListView going by a TextBox's input. Depending on the scenario, my ListView is divided into groups, which I lose once I Clear out the ListView's Items collection in preparation of loading the filtered list - not the ListView's Groups, but the Group allocation for each ListViewItem.
Is there any way to preserve that information in the ListViewItems even after calling the Clear() function?
Posted
Comments
phil.o 2-Mar-15 7:21am    
Please show the code clearing the ListView's item collection.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900