語言

QuickGrid<TGridItem>.InitialItemIndex 屬性

定義

此規定僅適用於使用 Virtualize。 取得或設定該列的零基索引,在第一個互動式渲染時捲動到。 當網格首次知道其物品數量時套用一次,後續重新渲染時忽略;若要在之後任何時候程式化捲動,請呼叫 ScrollToItemAsync(Int32, CancellationToken)。 超出範圍的數值會被鎖定。 預設值 0,表示沒有初始捲動。

[Microsoft.AspNetCore.Components.Parameter]
public int InitialItemIndex { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.InitialItemIndex : int with get, set
Public Property InitialItemIndex As Integer

屬性值

屬性

適用於