Share via


Virtualize<TItem>.MaxItemCount Property

Definition

Gets or sets the maximum number of items that will be rendered, even if the client reports that its viewport is large enough to show more. The default value is 100.

This should only be used as a safeguard against excessive memory usage or large data loads. Do not set this to a smaller number than you expect to fit on a realistic-sized window, because that will leave a blank gap below and the user may not be able to see the rest of the content.

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

Property Value

Attributes

Applies to