ColumnHeader::AutoResize Method (ColumnHeaderAutoResizeStyle)
.NET Framework (current version)
Resizes the width of the column as indicated by the resize style.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- headerAutoResize
-
Type:
System.Windows.Forms::ColumnHeaderAutoResizeStyle
One of the ColumnHeaderAutoResizeStyle values.
| Exception | Condition |
|---|---|
| InvalidOperationException |
.NET Framework
Available since 2.0
Available since 2.0
Show: