How can I hide a column in a ListView
control, without setting the column Width
property to 0
?
Also, can I lock the Width
I was looking for a way to do the same thing which bring me here.
I'm not sure if there is a better way of doing it however I use following workaround.
If you need to add a value to Listview
Item but don't want to show it, you can use a subitem index greater than total column count. This way, even though the value exists it is not visible