Επεξεργασία

Κοινή χρήση μέσω


IDataGridViewEditingControl.EditingControlRowIndex Property

Definition

Gets or sets the index of the hosting cell's parent row.

public:
 property int EditingControlRowIndex { int get(); void set(int value); };
public int EditingControlRowIndex { get; set; }
member this.EditingControlRowIndex : int with get, set
Public Property EditingControlRowIndex As Integer

Property Value

The index of the row that contains the cell, or -1 if there is no parent row.

Remarks

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.

Applies to

See also