|
@@ -63,6 +63,14 @@ public partial class QuickGrid<TGridItem> : IAsyncDisposable
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
[Parameter] public bool Virtualize { get; set; }
|
|
[Parameter] public bool Virtualize { get; set; }
|
|
|
|
|
|
|
|
|
|
+ /// <summary>
|
|
|
|
|
+ /// This is applicable only when using <see cref="Virtualize"/>. It defines how many additional items will be rendered
|
|
|
|
|
+ /// before and after the visible region to reduce rendering frequency during scrolling. While higher values can improve
|
|
|
|
|
+ /// scroll smoothness by rendering more items off-screen, they can also increase initial load times. Finding a balance
|
|
|
|
|
+ /// based on your data set size and user experience requirements is recommended. The default value is 3.
|
|
|
|
|
+ /// </summary>
|
|
|
|
|
+ [Parameter] public int OverscanCount { get; set; } = 3;
|
|
|
|
|
+
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
/// This is applicable only when using <see cref="Virtualize"/>. It defines an expected height in pixels for
|
|
/// This is applicable only when using <see cref="Virtualize"/>. It defines an expected height in pixels for
|
|
|
/// each row, allowing the virtualization mechanism to fetch the correct number of items to match the display
|
|
/// each row, allowing the virtualization mechanism to fetch the correct number of items to match the display
|