Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 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
loadingBehavior
pagesToLoadThreshold

 

 

Show:
© 2014 Microsoft