DataGridViewRowCancelEventArgs
Wisej.Web.DataGridViewRowCancelEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Provides data for the UserDeletingRow event of a DataGridView.
Constructors
Initializes a new instance of the DataGridViewRowCancelEventArgs class.
Name | Type | Description |
---|---|---|
dataGrid | DataGridView that owns the row. | |
rowIndex | The index of the DataGridViewRow that the event occurred for. |
Throws:
ArgumentNullException dataGrid is null.
ArgumentOutOfRangeException rowIndex is -1 or greater than the number of rows.
Initializes a new instance of the DataGridViewRowCancelEventArgs class.
Name | Type | Description |
---|---|---|
row | The DataGridViewRow that the event occurred for. |
Throws:
ArgumentNullException row is null.
Properties
DataGridViewRow: Returns the DataGridViewRow that the user is deleting.
Int32: Returns the index of the DataGridViewRow that the user is deleting.
Used By
Name | Description |
---|---|
Represents the method that will handle the UserDeletingRow event of a DataGridView. |
Last updated