TableLayoutControlCollection(TableLayoutPanel) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the TableLayoutControlCollection class.
public:
TableLayoutControlCollection(System::Windows::Forms::TableLayoutPanel ^ container);
public TableLayoutControlCollection (System.Windows.Forms.TableLayoutPanel container);
new System.Windows.Forms.TableLayoutControlCollection : System.Windows.Forms.TableLayoutPanel -> System.Windows.Forms.TableLayoutControlCollection
Public Sub New (container As TableLayoutPanel)
Parameters
- container
- TableLayoutPanel
The TableLayoutPanel control that contains the control collection.
Exceptions
.NET 5 and later: The container
argument is null
.
Remarks
Generally, the application programmer will not directly create instances of the TableLayoutControlCollection class. Instead, a reference to an existing TableLayoutControlCollection is returned by the Controls property.