DataGridView::FirstDisplayedScrollingRowIndex Property
.NET Framework (current version)
Gets or sets the index of the row that is the first row displayed on the DataGridView.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: [BrowsableAttribute(false)] property int FirstDisplayedScrollingRowIndex { int get(); void set(int value); }
Property Value
Type: System::Int32The index of the row that is the first row displayed on the DataGridView.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The specified value when setting this property is less than 0 or greater than the number of rows in the control minus 1. |
| InvalidOperationException |
.NET Framework
Available since 2.0
Available since 2.0
Show: