DataGridViewRowCollection
Wisej.Web.DataGridViewRowCollection
Last updated
Was this helpful?
Wisej.Web.DataGridViewRowCollection
Last updated
Was this helpful?
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
A collection of objects.
Initializes a new instance of the class for the given .
dataGrid
: Returns the number of rows in the collection.
: Returns the at the specified index.
Throws:
Throws:
values
Throws:
row
Throws:
Adds the specified number of new rows to the collection.
count
Throws:
Adds the specified number of rows to the collection based on the row at the specified index.
rowIndex
The index of the row on which to base the new rows.
count
Throws:
rowIndex
The index of the row on which to base the new row.
Throws:
newRows
Throws:
Clears the collection.
Throws:
row
array
index
The zero-based index in array at which copying begins.
Throws:
includeFilter
excludeFilter
Throws:
includeFilter
excludeFilter
Throws:
includeFilter
excludeFilter
Throws:
includeFilter
excludeFilter
Throws:
startRow
includeFilter
excludeFilter
Throws:
startIndex
includeFilter
excludeFilter
Throws:
startRow
includeFilter
excludeFilter
Throws:
startIndex
includeFilter
excludeFilter
Throws:
startRow
includeFilter
excludeFilter
Throws:
startIndex
includeFilter
excludeFilter
Throws:
startRow
includeFilter
excludeFilter
Throws:
startIndex
includeFilter
excludeFilter
Throws:
Returns the number of rows that match the includeFilter .
includeFilter
Throws:
includeFilter
Throws:
rowIndex
The index of the row.
Throws:
row
index
Throws:
index
values
Throws:
index
The position at which to insert the row.
row
Throws:
Inserts the specified number of rows into the collection at the specified location.
index
The position at which to insert the rows.
count
Throws:
Inserts rows into the collection at the specified position.
indexSource
indexDestination
The position at which to insert the rows.
count
Throws:
indexSource
indexDestination
The position at which to insert the row.
Throws:
index
The position at which to insert the rows.
newRows
Throws:
Removes the row from the collection.
row
Throws:
index
The position of the row to remove.
Throws:
Sets the state for the row at rowIndex .
rowIndex
The index of the row.
state
Throws:
The that created this collection.
index is less than 0.- or - index is equal to or greater than .
Adds a new to the collection.
Returns: . The index of the new .
The row returned by the property has more cells than there are columns in the control.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null. Or the has no columns.
Adds a new to the collection, and populates the cells with the specified objects.
A variable number of objects that populate the cells of the new .
Returns: . The index of the new .
values is null.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null. Or the has no columns. Or the property of the is set to true. Or the row returned by the property has more cells than there are columns in the control.
Adds the specified to the collection.
The to add to the .
Returns: . The index of the new .
row is null.
row has more cells than there are columns in the control.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null. Or the has no columns.
The number of rows to add to the .
Returns: . The index of the last row that was added.
count is less than 1.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null. Or the has no columns.
The number of rows to add to the .
Returns: . The index of the last row that was added.
rowIndex is less than zero or greater than or equal to the number of rows in the control; or count is less than zero.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null.
Adds a row based on the at the specified index.
Returns: . The index of the new .
rowIndex is less than zero or greater than or equal to the number of rows in the collection.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null.
Adds the specified objects to the collection.
An array of objects to be added to the .
newRows is null.
newRows contains only one row, and the row it contains has more cells than there are columns in the control.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null.
The collection is data bound and the underlying data source does not support clearing the row data. Or the associated control is performing one of the following actions that temporarily prevents the row collection from being modified: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - -
Determines whether the specified is in the collection.
The to locate in the .
Returns: . true if the is in the ; otherwise, false.
Copies the items from the collection into the specified array, starting at the specified index.
A array that is the destination of the items copied from the .
array is null.
index is less than zero.
array is multidimensional; or the number of elements in the is greater than the available space from index to the end of array .
Returns the first that matches the specified includeFilter and excludeFilter .
A bitwise combination of values.
A bitwise combination of values.
Returns: . The first that matches the specified filters; or null if no row is found.
One or both of the specified filter values is not a valid combination of values.
Returns the index of the first that matches the specified includeFilter and excludeFilter .
A bitwise combination of values.
A bitwise combination of values.
Returns: . The index of the first that matches the specified filters; or -1 if no row is found.
One or both of the specified filter values is not a valid combination of values.
Returns the last that matches the includeFilter and excludeFilter .
A bitwise combination of values.
A bitwise combination of values.
Returns: . The last that matches the specified filter; or null if no row is found.
includeFilter is not a valid bitwise combination of values.
Returns the index of the last that matches the includeFilter and excludeFilter .
A bitwise combination of values.
A bitwise combination of values.
Returns: . The index of the last that matches the specified filter; or -1 if no row is found.
includeFilter is not a valid bitwise combination of values.
Returns the next after startRow that matches the includeFilter and excludeFilter .
The row where the method should begin to look for the next .
A bitwise combination of values.
A bitwise combination of values.
Returns: . The next that matches the filters; or null if no row is found after startRow .
startRow is null.
One or both of the specified filter values is not a valid bitwise combination of values.
Returns the next after startIndex that matches the includeFilter and excludeFilter .
The index of the row where the method should begin to look for the next .
A bitwise combination of values.
A bitwise combination of values.
Returns: . The next that matches the filters; or null if no row is found after startIndex .
startIndex is less than -1.
One or both of the specified filter values is not a valid bitwise combination of values.
Returns the index of the next after startRow that matches the includeFilter and excludeFilter .
The row where the method should begin to look for the next .
A bitwise combination of values.
A bitwise combination of values.
Returns: . The index of the next that matches the filters; or -1 if no row is found after startRow .
startRow is null.
One or both of the specified filter values is not a valid bitwise combination of values.
Returns the index of the next after startIndex that matches the includeFilter and excludeFilter .
The index of the row where the method should begin to look for the next .
A bitwise combination of values.
A bitwise combination of values.
Returns: . The index of the next that matches the filters; or -1 if no row is found after startIndex .
startIndex is less than -1.
One or both of the specified filter values is not a valid bitwise combination of values.
Returns the previous before startRow that matches the includeFilter and excludeFilter .
The row where the method should begin to look for the previous .
A bitwise combination of values.
A bitwise combination of values.
Returns: . The previous that matches the filters; or null if no row is found before startRow .
startRow is null.
One or both of the specified filter values is not a valid bitwise combination of values.
Returns the previous before startIndex that matches the includeFilter and excludeFilter .
The index of the row where the method should begin to look for the previous .
A bitwise combination of values.
A bitwise combination of values.
Returns: . The previous that matches the filters; or null if no row is found before startIndex .
startIndex is greater than the number of rows in the collection.
One or both of the specified filter values is not a valid bitwise combination of values.
Returns the index of the previous before startRow that matches the includeFilter and excludeFilter .
The row where the method should begin to look for the previous .
A bitwise combination of values.
A bitwise combination of values.
Returns: . The index of previous that matches the filters; or -1 if no row is found before startRow .
startRow is null.
One or both of the specified filter values is not a valid bitwise combination of values.
Returns the index of the previous before startIndex that matches the includeFilter and excludeFilter .
The index of the row where the method should begin to look for the previous .
A bitwise combination of values.
A bitwise combination of values.
Returns: . The index of the previous that matches the filters; or -1 if no row is found before startIndex .
startIndex is greater than the number of rows in the collection.
One or both of the specified filter values is not a valid bitwise combination of values.
A combination of the values for inclusion.
Returns: . The number of rows that match the includeFilter .
includeFilter is not a valid bitwise combination of values.
Returns the cumulative height of the objects that match the includeFilter .
A bitwise combination of values.
Returns: . The cumulative height of objects that match the includeFilter .
includeFilter is not a valid bitwise combination of values.
Returns the state of the at the specified index.
Returns: . A combination of values indicating the state of the row.
rowIndex is less than zero and greater than the number of rows in the collection.
Returns the index of the given in the collection.
The to return the index of.
Returns: . The index of the given .
Inserts a into the collection at the specified position.
The position at which to insert the .
index is less than zero or greater than the number of rows in the collection.
The row returned by the control's property has more cells than there are columns in the control.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null. Or the has no columns. Or the property of the is set to true. Or the row returned by the property has more cells than there are columns in the control.
Inserts a into the collection at the specified position, and populates the cells with the specified objects.
The position at which to insert the .
A variable number of objects that populate the cells of the new .
index is less than zero or greater than the number of rows in the collection.
values is null.
The row returned by the control's property has more cells than there are columns in the control.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null. Or the has no columns. Or the property of the is set to true. Or the row returned by the property has more cells than there are columns in the control.
Inserts the specified into the collection.
The to insert into the .
index is less than zero or greater than the number of rows in the collection.
row is null.
row has more cells than there are columns in the control.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null. Or the has no columns.
The number of rows to insert into the .
index is less than zero or greater than the number of rows in the collection. or count is less than 1.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null. Or the has no columns.
The index of the on which to base the new rows.
The number of objects to add to the .
indexSource is less than zero or greater than the number of rows in the collection minus one; or indexDestination is less than zero or greater than the number of rows in the collection; or count is less than 1.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null.
Inserts a new into the collection at the specified indexDestination , based on the at indexSource .
The index of the on which to base the new .
indexSource is less than zero or greater than the number of rows in the collection minus one; or indexDestination is less than zero or greater than the number of rows in the collection.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null.
Inserts the objects into the collection at the specified position.
An array of objects to add to the .
newRows is null.
index is less than zero or greater than the number of rows in the collection.
newRows contains only one row, and the row it contains has more cells than there are columns in the control.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null.
The row to remove from the .
row is null.
row is not contained in this collection; or row is a shared row.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null. Or the has no columns.
Removes the at the specified position from the collection.
index is less than zero and greater than the number of rows in the collection minus one.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null. Or the has no columns.
state to set.
rowIndex is less than zero and greater than the number of rows in the collection.
Fired when the collection changes.