Editar

Compartilhar via


DataGridViewCellCancelEventArgs(Int32, Int32) Constructor

Definition

Initializes a new instance of the DataGridViewCellCancelEventArgs class.

public:
 DataGridViewCellCancelEventArgs(int columnIndex, int rowIndex);
public DataGridViewCellCancelEventArgs (int columnIndex, int rowIndex);
new System.Windows.Forms.DataGridViewCellCancelEventArgs : int * int -> System.Windows.Forms.DataGridViewCellCancelEventArgs
Public Sub New (columnIndex As Integer, rowIndex As Integer)

Parameters

columnIndex
Int32

The index of the column containing the cell that the event occurs for.

rowIndex
Int32

The index of the row containing the cell that the event occurs for.

Exceptions

columnIndex is less than -1.

-or-

rowIndex is less than -1.

Applies to

See also