Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.84 KB

listviewbase_incrementalloadingthreshold.md

File metadata and controls

34 lines (22 loc) · 1.84 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.ListViewBase.IncrementalLoadingThreshold
winrt property

Windows.UI.Xaml.Controls.ListViewBase.IncrementalLoadingThreshold

-description

Gets or sets the threshold range that governs when the ListViewBase class will begin to prefetch more items.

-xaml-syntax

<listViewBase IncrementalLoadingThreshold="double" />

-property-value

The loading threshold, in terms of pages.

-remarks

The meaning of the page count given for IncrementalLoadingThreshold is that the ListViewBase does not need to request more items via LoadMoreItemsAsync until the trigger condition (see IncrementalLoadingTrigger) gets within the IncrementalLoadingThreshold page range. Setting a larger number (for instance 10 or more) represents a belief that the user might attempt to scroll through the list very quickly, and it is worthwhile devoting resources to loading more items as quickly as possible. Setting a smaller number (for instance 5 or less) represents a belief that the user will scroll through the list less quickly, and that the user's scroll rate will permit the items collection to catch up without being as resource intensive.

IncrementalLoadingThreshold and DataFetchSize both contribute to the possible resource load that is the result of prefetch operations.

-examples

-see-also

DataFetchSize, IncrementalLoadingTrigger, LoadMoreItemsAsync, Using virtualization with a list or grid