ColumnAutoSize

How a column should auto-size itself to fit, for ListView.autoSizeColumn.

This is the analog of WinForms' negative column-width sentinels: content matches -1 (fit the data) and header matches -2 (fit the header text).

Values

ValueMeaning
content

Fit the widest cell in the column (LVSCW_AUTOSIZE; WinForms -1).

Meta