// Copyright (c) MudBlazor 2021 // MudBlazor licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.AspNetCore.Components; namespace Connected.Components; public partial class Virtualize : ComponentBase { /// /// Set false to turn off virtualization /// [Parameter] public bool IsEnabled { get; set; } /// /// Gets or sets the item template for the list. /// [Parameter] public RenderFragment ChildContent { get; set; } /// /// Gets or sets the fixed item source. /// [Parameter] public ICollection Items { get; set; } /// /// Gets or sets a value that determines how many additional items will be rendered /// before and after the visible region. This help to reduce the frequency of rendering /// during scrolling. However, higher values mean that more elements will be present /// in the page. /// [Parameter] public int OverscanCount { get; set; } = 3; }