Export (0) Print
Expand All

TableLayoutColumnStyleCollection.Add Method (ColumnStyle)

Adds an item to the TableLayoutColumnStyleCollection.

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

public int Add(
	ColumnStyle columnStyle
)

Return Value

Type: System.Int32
The position into which the new element was inserted.

The Add method reapplies the table layout to all the controls in the current TableLayoutPanel container.

The number of styles stored in a collection is limited only by available memory.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft