- headerAutoResize
- One of the System.Windows.Forms.ColumnHeaderAutoResizeStyle values.
Calling the ColumnHeader.AutoResize(ColumnHeaderAutoResizeStyle) method is only effective once the System.Windows.Forms.ListView and containing System.Windows.Forms.Form have been constructed, and the column is populated with items. If new items are added to the System.Windows.Forms.ListView, the column will not resize unless ColumnHeader.AutoResize(ColumnHeaderAutoResizeStyle) is called again.