ListView.pagesToLoadThreshold property

Applies to Windows and Windows Phone

[pagesToLoadThreshold may be altered or unavailable for releases after Windows 8.1. ]

Gets or sets the threshold (in pages) for initiating an incremental load. When the last visible item is within the specified number of pages from the end of the loaded portion of the list, and if automaticallyLoadPages is true and loadingBehavior is set to "incremental", the ListView initiates an incremental load.

Syntax


<div 
    data-win-control="WinJS.UI.ListView" 
    data-win-options="{ pagesToLoadThreshold : value}">
</div>


var pagesToLoadThreshold = listView.pagesToLoadThreshold;
listView.pagesToLoadThreshold = pagesToLoadThreshold;

Property value

Type: Number

A number greater than 0. When the last visible item is within the specified number of pages from the end of the loaded portion of the list, an incremental load is initiated if automaticallyLoadPages is true.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

Library

Ui.js

See also

ListView

 

 

Show:
© 2014 Microsoft