pagesToLoad property
Collapse the table of content
Expand the table of content

ListView.pagesToLoad property

Applies to Windows and Windows Phone

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

Gets or sets the number of pages to load when the loadingBehavior property is set to "incremental" and the user scrolls beyond the threshold specified by the pagesToLoadThreshold property.

Syntax


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


var pagesToLoad = listView.pagesToLoad;
listView.pagesToLoad = pagesToLoad;

Property value

Type: Number

A number greater than 0 that specifies the number of pages to load when the loadingBehavior property is set to "incremental" and the user scrolls beyond the threshold specified by the pagesToLoadThreshold property.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ListView
loadingBehavior
pagesToLoadThreshold

 

 

Show:
© 2016 Microsoft