Removes the first occurrence of a specific object from the System.Windows.Forms.TableLayoutRowStyleCollection.
- rowStyle
- The System.Windows.Forms.RowStyle to remove from the System.Windows.Forms.TableLayoutRowStyleCollection. The value can be null.
The TableLayoutRowStyleCollection.Remove(RowStyle) method reapplies the table layout to all the controls in the current System.Windows.Forms.TableLayoutPanel container.
In collections of contiguous elements, such as the System.Windows.Forms.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.