TableLayoutSettings.SetRowSpan(Object, Int32) Method

Definition

Sets the number of rows that the cell containing the child control spans.

public:
 void SetRowSpan(System::Object ^ control, int value);
public void SetRowSpan (object control, int value);
member this.SetRowSpan : obj * int -> unit
Public Sub SetRowSpan (control As Object, value As Integer)

Parameters

control
Object

A control contained within a cell.

value
Int32

The number of rows that the cell containing the child control spans.

Exceptions

control is null.

value is less than 1.

Applies to

See also