How to hide an item in listview, but not remove it.

  • Thread starter Thread starter yxq
  • Start date Start date
Y

yxq

Hello,
I want to hide an item in listview but not remove it, how to do?
Thank you
 
AFAIK, that is not possible, the ListViewItem lacks the Visible property.
Doing custom draw you can avoid painting it, but the hole will be there, I
think.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
 
Are you talking about hiding the item and all sub-items (i.e. making
the row invisible?). If so, I do not know. But if you want to hide one
or more sub-items you can simply make their width 0. They can still be
accessed but the colum will be invisible.

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top