DataGridViewRow.CreateCellsInstance Methode

Definitie

Hiermee wordt een nieuwe verzameling cellen samengesteld op basis van deze rij.

protected:
 virtual System::Windows::Forms::DataGridViewCellCollection ^ CreateCellsInstance();
protected virtual System.Windows.Forms.DataGridViewCellCollection CreateCellsInstance();
abstract member CreateCellsInstance : unit -> System.Windows.Forms.DataGridViewCellCollection
override this.CreateCellsInstance : unit -> System.Windows.Forms.DataGridViewCellCollection
Protected Overridable Function CreateCellsInstance () As DataGridViewCellCollection

Retouren

De zojuist gemaakte DataGridViewCellCollection.

Opmerkingen

Met deze methode wordt een lege DataGridViewCellCollection waarde gemaakt waarbij de Count eigenschap is ingesteld op 0.

Notities voor overnemers

Afgeleide klassen moeten doorgaans hun eigen versie van de CreateCellsInstance() methode implementeren en de basisklasseversie niet aanroepen.

Van toepassing op

Zie ook