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 時的指定值。

設定這個屬性會表示具有 falseVisible 屬性值之資料列時的指定值。

-或-

設定這個屬性會表示具有 trueFrozen 屬性值之資料行時的指定值。

備註

設定這個屬性會 Scroll 引發 事件。

適用於

另請參閱