TableLayoutRowStyleCollection.Add Method (RowStyle)

 
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.

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

public int Add(
	RowStyle rowStyle
)

Parameters

rowStyle
Type: System.Windows.Forms.RowStyle

The RowStyle to add to the TableLayoutRowStyleCollection.

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
Available since 2.0
Return to top
Show: