Share via


ListView.maxLeadingPages property

Gets or sets the maximum number of pages to prefetch for the leading buffer.

Syntax

<div 
  data-win-control="WinJS.UI.ListView" 
  data-win-options="{ maxLeadingPages : value}">
</div>
var maxLeadingPages = listView.maxLeadingPages;
listView.maxLeadingPages = maxLeadingPages;

Property value

Type: Number

A value greater than or equal to zero that specifies the maximum number of pages to prefetch for the leading buffer. Negative values are treated as zero.

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

ListView