KSLogic
Custom Software Development
Sunday, 28 June 2015
How to set listview column width in vb.net
For i As Integer = 0 To Me.lstList.Columns.Count - 1
Me.lstList.Columns(i).Width = -2
Next
If you set -2, the control resizes the columns to fit Data and Header.
If you set -1, it does to fit Only Data.
Newer Post
Older Post
Home