Redigera

Dela via


TableLayoutControlCollection(TableLayoutPanel) Constructor

Definition

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.

Applies to

See also