TableLayoutSettings.SetRowSpan Method (Object, Int32)

 

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public void SetRowSpan(
	object control,
	int value
)

Parameters

control
Type: System.Object

A control contained within a cell.

value
Type: System.Int32

The number of rows 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
Return to top
Show: