Language

QuickGrid<TGridItem>.InitialItemIndex Property

Definition

This is applicable only when using Virtualize. Gets or sets the zero-based index of the row to scroll to on first interactive render. Applied once when the grid first knows its item count and ignored on subsequent re-renders; to scroll programmatically at any later point, call ScrollToItemAsync(Int32, CancellationToken). Out-of-range values are clamped. The default value, 0, means no initial scroll.

[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

Property Value

Attributes

Applies to