ListViewhas a property Columnsthat is a collection containing columns, and each of these columns has the property Width:
var widthOfLastColumn = listView.Columns[ listView.Columns.Count - 1 ].Width;
listView.Columns[ listView.Columns.Count - 1 ].Width = newWidth;
To keep the width of the last column so that it fills the rest of the list, you can add Resizesomething like the following to the Forms event :
var width = 0;
for (int i = 0; i < listView.Columns.Count - 1; i++)
width += listView.Columns[i].Width;
listView.Columns[ listView.Columns.Count - 1 ].Width =
listView.ClientSize.Width - width;
, , - .