DataGridViewCellCancelEventArgs(Int32, Int32) コンストラクター

定義

DataGridViewCellCancelEventArgs クラスの新しいインスタンスを初期化します。

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)

パラメーター

columnIndex
Int32

イベントが発生したセルを含む列のインデックス。

rowIndex
Int32

イベントが発生したセルを含む行のインデックス。

例外

columnIndex が -1 未満です。

  • または - rowIndex が -1 未満です。

適用対象

こちらもご覧ください