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