Dela via


ListView.maxTrailingPages property

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

Syntax

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

Property value

Type: Number

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

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

ListView