TableLayoutSettings::SetRow Method (Object^, Int32)

 

Sets the row position of the specified child control.

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

public:
void SetRow(
	Object^ control,
	int row
)

Parameters

control
Type: System::Object^

A control contained within a cell.

row
Type: System::Int32

The row position of the specified child control.

Exception Condition
ArgumentNullException

control is null.

ArgumentException

row is less than -1.

.NET Framework
Available since 2.0
Return to top
Show: