DataGridViewCellCollection Class

Represents a collection of cells in a DataGridViewRow.   

Namespace: elsystem.windows.forms

Properties
  Name Type Description
Public property Count int Gets the number of cells in the collection.
Public property Items[indx] object Gets or sets the DataGridViewCell object at the provided index location in the collection.
Public property Items[key] object Gets or sets the DataGridViewCell object with the specified column (key) name in the collection.
Methods
  Name Description
Public property Add(cell) Adds a DataGridViewCell to the collection.
Public property At(Indx) References the DataGridViewCell object at the specified Indx location within the collection.
Public property At(key) References the DataGridViewCell object with the specified column name (key) within the collection.
Public property Clear Removes all items from the collection.
Public property Contains(cell) True if the specified cell name exists within the collection.
Public property IndexOf(cell) Gets the index of the specified cell within the collection.
Public property RemoveAt(index) Removes the cell at the specified index position from the collection.
Inheritance Hierarchy

elsystem.Object

elsystem.DotNetObject

elsystem.windows.forms.DataGridViewCellCollection