I don’t find a way to autosize columns i a ListView depending on its contents…
Printable View
I don’t find a way to autosize columns i a ListView depending on its contents…
Yep, set the width of the ColumnHeader objects to -2. For instance:
Try it!Code:foreach (ColumnHeader ch in lvList.Columns)
{
ch.Width = -2;
}