DataGridView.CreateControlsInstance Yöntem

Tanım

türüne DataGridView.DataGridViewControlCollectiondönüştürilebilen yeni Control.ControlCollection bir oluşturur ve döndürür.

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

Döndürülenler

Control.ControlCollection

Boş Control.ControlCollectionbir .

Açıklamalar

Bu yöntem, değerini başlatmak için özelliği tarafından Controls çağrılır.

Şunlara uygulanır

Ayrıca bkz.