How can I hide a column in a ListView control, without setting the column Width property to 0?
ListView
Width
0
Also, can I lock the Width
The simplest way as follows, try this code segment :
hide:
LVW.Columns.Item(0).Width = 0
show again:
LVW.Columns.Item(0).AutoResize(ColumnHeaderAutoResizeStyle.ColumnContent)
may this help someone.