TableLayoutPanel::Controls Property
.NET Framework (current version)
Gets the collection of controls contained within the TableLayoutPanel.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: [BrowsableAttribute(false)] property TableLayoutControlCollection^ Controls { TableLayoutControlCollection^ get(); }
Property Value
Type: System.Windows.Forms::TableLayoutControlCollection^A TableLayoutControlCollection containing the controls associated with the current TableLayoutPanel.
The Controls property contains all of the controls associated with the table, including controls that may not be currently displayed because of GrowStyle, ColumnCount, or RowCount limitations.
The following code example enumerates all the child controls in the TableLayoutPanel.
.NET Framework
Available since 2.0
Available since 2.0
Show: