DataGridViewCellCollection

Wisej.Web.DataGridViewCellCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents a collection of cells in a DataGridViewRow.

public class DataGridViewCellCollection : BaseCollection, IList, IList<DataGridViewCell>, ICollection<DataGridViewCell>, IEnumerable<DataGridViewCell>

Constructors

Initializes a new instance of the DataGridViewCellCollection class.

Properties

DataGridViewCell: Returns or sets the cell contained in the specified column .

Throws:

DataGridViewCell: Returns or sets the cell at the provided index location.

Throws:

DataGridViewCell: Returns or sets the cell in the column with the provided name.

Throws:

Methods

Adds a cell to the collection.

Returns: Int32. The position in which to insert the new element.

Throws:

Adds an array of cells to the collection.

Throws:

Adds an array of cells to the collection.

Throws:

Clears all cells from the collection.

Throws:

Determines whether the specified cell is contained in the collection.

Returns: Boolean. true if cell is in the collection; otherwise, false.

Copies the entire collection of cells into an array at a specified location within the array.

Returns the index of the specified cell.

Returns: Int32. The zero-based index of the value of cell parameter, if it is found in the collection; otherwise, -1.

Inserts a cell into the collection at the specified index.

Throws:

Removes the specified cell from the collection.

Throws:

Removes the cell at the specified index.

Throws:

Events

CollectionChangeEventHandler Fired when the collection changes.

Last updated