DataGridViewRowCancelEventArgs
Wisej.Web.DataGridViewRowCancelEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Provides data for the UserDeletingRow event of a DataGridView.
public class DataGridViewRowCancelEventArgs : CancelEventArgs
Constructors
DataGridViewRowCancelEventArgs(dataGrid, rowIndex)

Initializes a new instance of the DataGridViewRowCancelEventArgs class.
Name
Type
Description
Throws:
ArgumentNullException dataGrid is null.
ArgumentOutOfRangeException rowIndex is -1 or greater than the number of rows.
DataGridViewRowCancelEventArgs(row)

Initializes a new instance of the DataGridViewRowCancelEventArgs class.
Name
Type
Description
Throws:
ArgumentNullException row is null.
Properties
Row

DataGridViewRow: Returns the DataGridViewRow that the user is deleting.
RowIndex

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
Was this helpful?