ColumnStyle Constructor (SizeType, Single)
.NET Framework (current version)
Initializes and instance of the ColumnStyle class using the supplied SizeType and width values.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- sizeType
-
Type:
System.Windows.Forms::SizeType
A SizeType indicating how the column should be should be sized relative to its containing table.
- width
-
Type:
System::Single
The preferred width, in pixels or percentage, depending on the sizeType parameter.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | width is less than 0. |
The exact meaning of the width parameter will vary depending on the sizeType parameter. For more information, see the Width property.
.NET Framework
Available since 2.0
Available since 2.0
Show: