DataGridViewTextBoxEditingControl.EditingControlRowIndex Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public virtual int EditingControlRowIndex { get; set; }

Property Value

Type: System.Int32

The index of the row that contains the owning cell; -1 if there is no owning row.

The row index for the column headers row is -1.

The row index for a shared row is also -1.

.NET Framework
Available since 2.0
Return to top