TableLayoutStyleCollection.RemoveAt Method (Int32)


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

Removes the style at the specified index of the collection.

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

public void RemoveAt(
	int index


Type: System.Int32

The zero-based index of the TableLayoutStyle to be removed.

This method cannot be overridden.

Before the TableLayoutStyle is removed, it is disassociated from its TableLayoutPanel container. As a result, the table layout is reapplied to all the controls in the panel.

.NET Framework
Available since 2.0
Return to top