Disassociates the collection from its associated System.Windows.Forms.TableLayoutPanel and empties the collection.
This method cannot be overridden.
The TableLayoutStyleCollection.Clear method performs two main actions:
It disassociates the current System.Windows.Forms.TableLayoutStyleCollection from its System.Windows.Forms.TableLayoutPanel container so that the styles are no longer applied to the layout of the controls contained within the panel. As a result, the table layout is reapplied to all the controls in the panel.
It empties the collection of all of its System.Windows.Forms.TableLayoutStyle objects. As a result, the TableLayoutStyleCollection.Count property is set to 0.