TableLayoutSettings::SetColumnSpan Method (Object^, Int32)
.NET Framework (current version)
Sets the number of columns that the cell containing the child control spans.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- control
-
Type:
System::Object^
A control contained within a cell.
- value
-
Type:
System::Int32
The number of columns that the cell containing the child control spans.
| Exception | Condition |
|---|---|
| ArgumentNullException | control is null. |
| ArgumentOutOfRangeException | value is less than 1. |
.NET Framework
Available since 2.0
Available since 2.0
Show: