Skip to main content
Version: 3.5

DataGridViewRowCancelEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Provides data for the UserDeletingRow event of a DataGridView.

public class DataGridViewRowCancelEventArgs : CancelEventArgs

Constructors

Instance memberDataGridViewRowCancelEventArgs(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 memberDataGridViewRowCancelEventArgs(row)

Initializes a new instance of the DataGridViewRowCancelEventArgs class.

NameTypeDescription
rowDataGridViewRowThe DataGridViewRow that the event occurred for.

Throws:

Properties

Instance memberRow

DataGridViewRow: Returns the DataGridViewRow that the user is deleting.

Instance memberRowIndex

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.