WinListView™ can display several columns of data in its Details view, allowing you to add extra detail about each item in the main column. This release, we’ve added functionality to allow your end users to automatically resize each column so the columns fit in the horizontal space available. The end user automatically resizes the columns by double-clicking the right side of the column header. Alternatively, you can control the resizing through the new APIs that we’ve added.
The new AutoFitColumns property turns this new functionality on, while the ColumnAutoSizeMode property determines exactly how you want the columns to resize when your end user double-clicks a column header. However, you don’t have to wait for your end user to interact in order to auto-size the columns. With the PerformAutoSize method, you can auto-size the columns whenever you need to; you can even specify the type of resizing through an optional parameter.
The following screen shots demonstrate how WinListView resizes its columns. The first screen shot demonstrates the default behavior. The second screen shot demonstrates fitting all columns in view.