DataGridView.FirstDisplayedScrollingRowIndex プロパティ

定義

DataGridViewに表示される最初の行である行のインデックスを取得または設定します。

public:
 property int FirstDisplayedScrollingRowIndex { int get(); void set(int value); };
[System.ComponentModel.Browsable(false)]
public int FirstDisplayedScrollingRowIndex { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.FirstDisplayedScrollingRowIndex : int with get, set
Public Property FirstDisplayedScrollingRowIndex As Integer

プロパティ値

DataGridViewに表示される最初の行である行のインデックス。

属性

例外

このプロパティを設定するときに指定した値が 0 未満であるか、コントロール内の行数から 1 を引いた数より大きい値です。

このプロパティを設定するときに指定した値は、 Visible プロパティ値が false の行を示します。

-または-

このプロパティを設定するときに指定した値は、 Frozen プロパティ値が true の列を示します。

注釈

このプロパティを設定すると、 Scroll イベントが発生します。

適用対象

こちらもご覧ください