Control.ControlCollection(Control) Konstruktor

Definice

Inicializuje novou instanci Control.ControlCollection třídy.

public:
 ControlCollection(System::Windows::Forms::Control ^ owner);
public ControlCollection (System.Windows.Forms.Control owner);
new System.Windows.Forms.Control.ControlCollection : System.Windows.Forms.Control -> System.Windows.Forms.Control.ControlCollection
Public Sub New (owner As Control)

Parametry

owner
Control

Představuje Control ovládací prvek, který vlastní kolekci ovládacích prvků.

Výjimky

.NET 5 a novější verze: Argument owner je null.

Platí pro

Viz také