DataGridViewRow.CreateCellsInstance Method ()

 

Constructs a new collection of cells based on this row.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected virtual DataGridViewCellCollection CreateCellsInstance()

This method creates an empty DataGridViewCellCollection with the Count property set to 0.

Notes to Inheritors:

Typically, derived classes should implement their own version of the CreateCellsInstance method and not call the base class version.

.NET Framework
Available since 2.0
Return to top
Show: