ColumnHeaderAutoResizeStyle Enumeration
.NET Framework (current version)
Specifies how a column contained in a ListView should be resized.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Member name | Description | |
|---|---|---|
| ColumnContent | Specifies the column should be resized based on the length of the column content. | |
| HeaderSize | Specifies the column should be resized based on the length of the column header content. | |
| None | Specifies no resizing should occur. |
The ColumnHeaderAutoResizeStyle is used by the ListView::AutoResizeColumn, ListView::AutoResizeColumns, and ColumnHeader::AutoResize methods.
.NET Framework
Available since 2.0
Available since 2.0
Show: