TableLayoutControlCollection(TableLayoutPanel) Konstruktor

Definition

Initierar en ny instans av TableLayoutControlCollection klassen.

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)

Parametrar

container
TableLayoutPanel

Kontrollen TableLayoutPanel som innehåller kontrollsamlingen.

Undantag

.NET 5 och senare: argumentet container är null.

Kommentarer

I allmänhet skapar programprogram programmeraren inte instanser av TableLayoutControlCollection klassen direkt. I stället returneras en referens till en befintlig TableLayoutControlCollection av Controls egenskapen.

Gäller för

Se även