IDataGridViewEditingControl.EditingControlRowIndex Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om