DataGridView.CreateControlsInstance Méthode

Définition

Crée et retourne un nouveau Control.ControlCollection qui peut être casté en type DataGridView.DataGridViewControlCollection.

protected:
 override System::Windows::Forms::Control::ControlCollection ^ CreateControlsInstance();
protected override System.Windows.Forms.Control.ControlCollection CreateControlsInstance ();
override this.CreateControlsInstance : unit -> System.Windows.Forms.Control.ControlCollection
Protected Overrides Function CreateControlsInstance () As Control.ControlCollection

Retours

Control.ControlCollection

Control.ControlCollection vide.

Remarques

Cette méthode est appelée par la Controls propriété pour initialiser sa valeur.

S’applique à

Voir aussi