ColumnStyle::Width Property
.NET Framework (current version)
Gets or sets the width value for a column.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The value is less than 0 when setting this property. |
The width parameter will take on different meanings depending on the SizeType property.
sizeType value | width interpretation |
|---|---|
The preferred column width in pixels (fractional portion ignored). | |
Not applicable—the width parameter is ignored. | |
The preferred column width as a percentage of the containing table. |
.NET Framework
Available since 2.0
Available since 2.0
Show: