Skip to main content
Version: 4.1

DataGridViewRowCancelEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Provides data for the UserDeletingRow event of a DataGridView.

public class DataGridViewRowCancelEventArgs : CancelEventArgs

Constructors​

Instance member DataGridViewRowCancelEventArgs(dataGrid, rowIndex)​

Initializes a new instance of the DataGridViewRowCancelEventArgs class.

NameTypeDescription
dataGridDataGridViewDataGridView that owns the row.
rowIndexInt32The index of the DataGridViewRow that the event occurred for.

Throws:

Instance member DataGridViewRowCancelEventArgs(row)​

Initializes a new instance of the DataGridViewRowCancelEventArgs class.

NameTypeDescription
rowDataGridViewRowThe DataGridViewRow that the event occurred for.

Throws:

Properties​

Instance member Row​

DataGridViewRow: Returns the DataGridViewRow that the user is deleting.

Instance member RowIndex​

Int32: Returns the index of the DataGridViewRow that the user is deleting.

Used By​

NameDescription
DataGridViewRowCancelEventHandlerRepresents the method that will handle the UserDeletingRow event of a DataGridView.