Edit

Share via


TableLayoutSettings.SetColumnSpan(Object, Int32) Method

Definition

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