DataGridViewCellCollection Class
Represents a collection of cells in a DataGridViewRow.
Namespace: elsystem.windows.forms
Properties
Name | Type | Description | |
Count | int | Gets the number of cells in the collection. | |
Items[indx] | object | Gets or sets the DataGridViewCell object at the provided index location in the collection. | |
Items[key] | object | Gets or sets the DataGridViewCell object with the specified column (key) name in the collection. |
Methods
Name | Description | |
Add(cell) | Adds a DataGridViewCell to the collection. | |
At(Indx) | References the DataGridViewCell object at the specified Indx location within the collection. | |
At(key) | References the DataGridViewCell object with the specified column name (key) within the collection. | |
Clear | Removes all items from the collection. | |
Contains(cell) | True if the specified cell name exists within the collection. | |
IndexOf(cell) | Gets the index of the specified cell within the collection. | |
RemoveAt(index) | Removes the cell at the specified index position from the collection. |