DataGridViewRowCollection

Wisej.Web.DataGridViewRowCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

A collection of DataGridViewRow objects.

public class DataGridViewRowCollection : IList, ICollection, IEnumerable, IList<DataGridViewRow>, ICollection<DataGridViewRow>, IEnumerable<DataGridViewRow>

Constructors

Initializes a new instance of the DataGridViewRowCollection class for the given DataGridView.

Properties

Int32: Returns the number of rows in the collection.

DataGridViewRow: Returns the DataGridViewRow at the specified index.

Throws:

Methods

Adds a new DataGridViewRow to the collection.

Returns: Int32. The index of the new DataGridViewRow.

Throws:

Adds a new DataGridViewRow to the collection, and populates the cells with the specified objects.

Returns: Int32. The index of the new DataGridViewRow.

Throws:

Adds the specified DataGridViewRow to the collection.

Returns: Int32. The index of the new DataGridViewRow.

Throws:

Adds the specified number of new rows to the collection.

Returns: Int32. The index of the last row that was added.

Throws:

Adds the specified number of rows to the collection based on the row at the specified index.

Returns: Int32. The index of the last row that was added.

Throws:

Adds a DataGridViewRow row based on the DataGridViewRow at the specified index.

Returns: Int32. The index of the new DataGridViewRow.

Throws:

Adds the specified DataGridViewRow objects to the collection.

Throws:

Clears the collection.

Throws:

Determines whether the specified DataGridViewRow is in the collection.

Returns: Boolean. true if the DataGridViewRow is in the DataGridViewRowCollection; otherwise, false.

Copies the items from the collection into the specified DataGridViewRow array, starting at the specified index.

Throws:

Returns the first DataGridViewRow that matches the specified includeFilter and excludeFilter .

Returns: DataGridViewRow. The first DataGridViewRow that matches the specified filters; or null if no row is found.

Throws:

Returns the index of the first DataGridViewRow that matches the specified includeFilter and excludeFilter .

Returns: Int32. The index of the first DataGridViewRow that matches the specified filters; or -1 if no row is found.

Throws:

Returns the last DataGridViewRow that matches the includeFilter and excludeFilter .

Returns: DataGridViewRow. The last DataGridViewRow that matches the specified filter; or null if no row is found.

Throws:

Returns the index of the last DataGridViewRow that matches the includeFilter and excludeFilter .

Returns: Int32. The index of the last DataGridViewRow that matches the specified filter; or -1 if no row is found.

Throws:

Returns the next DataGridViewRow after startRow that matches the includeFilter and excludeFilter .

Returns: DataGridViewRow. The next DataGridViewRow that matches the filters; or null if no row is found after startRow .

Throws:

Returns the next DataGridViewRow after startIndex that matches the includeFilter and excludeFilter .

Returns: DataGridViewRow. The next DataGridViewRow that matches the filters; or null if no row is found after startIndex .

Throws:

Returns the index of the next DataGridViewRow after startRow that matches the includeFilter and excludeFilter .

Returns: Int32. The index of the next DataGridViewRow that matches the filters; or -1 if no row is found after startRow .

Throws:

Returns the index of the next DataGridViewRow after startIndex that matches the includeFilter and excludeFilter .

Returns: Int32. The index of the next DataGridViewRow that matches the filters; or -1 if no row is found after startIndex .

Throws:

Returns the previous DataGridViewRow before startRow that matches the includeFilter and excludeFilter .

Returns: DataGridViewRow. The previous DataGridViewRow that matches the filters; or null if no row is found before startRow .

Throws:

Returns the previous DataGridViewRow before startIndex that matches the includeFilter and excludeFilter .

Returns: DataGridViewRow. The previous DataGridViewRow that matches the filters; or null if no row is found before startIndex .

Throws:

Returns the index of the previous DataGridViewRow before startRow that matches the includeFilter and excludeFilter .

Returns: Int32. The index of previous DataGridViewRow that matches the filters; or -1 if no row is found before startRow .

Throws:

Returns the index of the previous DataGridViewRow before startIndex that matches the includeFilter and excludeFilter .

Returns: Int32. The index of the previous DataGridViewRow that matches the filters; or -1 if no row is found before startIndex .

Throws:

Returns the number of rows that match the includeFilter .

Returns: Int32. The number of rows that match the includeFilter .

Throws:

Returns the cumulative height of the DataGridViewRow objects that match the includeFilter .

Returns: Int32. The cumulative height of DataGridViewRow objects that match the includeFilter .

Throws:

Returns the state of the DataGridViewRow at the specified index.

Returns: DataGridViewElementStates. A combination of DataGridViewElementStates values indicating the state of the row.

Throws:

Returns the index of the given DataGridViewRow in the collection.

Returns: Int32. The index of the given DataGridViewRow.

Inserts a DataGridViewRow into the collection at the specified position.

Throws:

Inserts a DataGridViewRow into the collection at the specified position, and populates the cells with the specified objects.

Throws:

Inserts the specified DataGridViewRow into the collection.

Throws:

Inserts the specified number of rows into the collection at the specified location.

Throws:

Inserts rows into the collection at the specified position.

Throws:

Inserts a new DataGridViewRow into the collection at the specified indexDestination , based on the DataGridViewRow at indexSource .

Throws:

Inserts the DataGridViewRow objects into the collection at the specified position.

Throws:

Removes the row from the collection.

Throws:

Removes the DataGridViewRow at the specified position from the collection.

Throws:

Events

CollectionChangeEventHandler Fired when the collection changes.

Last updated