TableLayoutSettings.SetColumnSpan(Object, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the number of columns that the cell containing the child control spans.
public:
void SetColumnSpan(System::Object ^ control, int value);
public void SetColumnSpan (object control, int value);
member this.SetColumnSpan : obj * int -> unit
Public Sub SetColumnSpan (control As Object, value As Integer)
Parameters
- control
- Object
A control contained within a cell.
- value
- Int32
The number of columns that the cell containing the child control spans.
Exceptions
control
is null
.
value
is less than 1.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.