DataGridViewRowCollection.SharedRow Method (Int32)

 
System_CAPS_noteNote

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

Returns the DataGridViewRow at the specified index.

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

member SharedRow : 
        rowIndex:int -> DataGridViewRow

Parameters

rowIndex
Type: System.Int32

The index of the DataGridViewRow to get.

Return Value

Type: System.Windows.Forms.DataGridViewRow

The DataGridViewRow positioned at the specified index.

The SharedRow method returns a DataGridViewRow without unsharing the row. If you modify a shared row, all the rows that share that row will be modified.

.NET Framework
Available since 2.0
Return to top
Show: