DataGridViewRowCancelEventArgs

Wisej.Web.DataGridViewRowCancelEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.2.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

dataGrid

DataGridView that owns the row.

rowIndex

The index of the DataGridViewRow that the event occurred for.

Throws:

DataGridViewRowCancelEventArgs(row)

Initializes a new instance of the DataGridViewRowCancelEventArgs class.

Name
Type
Description

row

The DataGridViewRow that the event occurred for.

Throws:

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