DataGridViewRowCollection.SharedRow(Int32) DataGridViewRowCollection.SharedRow(Int32) DataGridViewRowCollection.SharedRow(Int32) DataGridViewRowCollection.SharedRow(Int32) Method

Definition

Returns the DataGridViewRow at the specified index.

public:
 System::Windows::Forms::DataGridViewRow ^ SharedRow(int rowIndex);
public System.Windows.Forms.DataGridViewRow SharedRow (int rowIndex);
member this.SharedRow : int -> System.Windows.Forms.DataGridViewRow
Public Function SharedRow (rowIndex As Integer) As DataGridViewRow
Parameters
rowIndex
Int32 Int32 Int32 Int32

The index of the DataGridViewRow to get.

Returns

Remarks

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.

Applies to

See Also