TableLayoutControlCollection(TableLayoutPanel) Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy TableLayoutControlCollection.

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)

Parametry

container
TableLayoutPanel

Kontrolka TableLayoutPanel zawierająca kolekcję kontrolek.

Wyjątki

.NET 5 lub nowszy: container argument to null.

Uwagi

Ogólnie rzecz biorąc, programista aplikacji nie tworzy bezpośrednio wystąpień TableLayoutControlCollection klasy . Zamiast tego odwołanie do istniejącej TableLayoutControlCollection jest zwracane przez Controls właściwość .

Dotyczy

Zobacz też