IDataGridViewEditingControl::EditingControlRowIndex Property
.NET Framework (current version)
Gets or sets the index of the hosting cell's parent row.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Property Value
Type: System::Int32The index of the row that contains the cell, or –1 if there is no parent row.
The IDataGridViewEditingControl interface does not define a corresponding ColumnIndex property. You can use the EditingControlDataGridView property to retrieve the parent DataGridView control and use the DataGridView::CurrentCellAddress property to determine the row and column indexes of the active cell.
.NET Framework
Available since 2.0
Available since 2.0
Show: