TableLayoutSettings::SetColumn Method (Object^, Int32)

 

Sets the column position for the specified child control.

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

public:
void SetColumn(
	Object^ control,
	int column
)

Parameters

control
Type: System::Object^

A control contained within a cell.

column
Type: System::Int32

The column position for the specified child control.

Exception Condition
ArgumentNullException

control is null.

ArgumentException

column is less than -1.

.NET Framework
Available since 2.0
Return to top
Show: