TableLayoutSettings.SetColumn Method (Object, Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: