Redigeeri

Jagamisviis:


TableLayoutRowStyleCollection.Remove(RowStyle) Method

Definition

Removes the first occurrence of a specific object from the TableLayoutRowStyleCollection.

public:
 void Remove(System::Windows::Forms::RowStyle ^ rowStyle);
public void Remove (System.Windows.Forms.RowStyle rowStyle);
member this.Remove : System.Windows.Forms.RowStyle -> unit
Public Sub Remove (rowStyle As RowStyle)

Parameters

rowStyle
RowStyle

The RowStyle to remove from the TableLayoutRowStyleCollection. The value can be null.

Remarks

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

In collections of contiguous elements, such as the TableLayoutRowStyleCollection class, the elements that follow the deletion point move up to occupy the vacated spot. The indexes of the elements that are moved are also updated.

Applies to

See also