Virtualize<TItem>.InitialItemIndex Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the zero-based index of the item to scroll to on first interactive render.
Applied once when the component 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