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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk