ListView.scrollPosition property

0 out of 2 rated this helpful - Rate this topic

Gets or sets the distance, in pixels, between the first item in the list and the current viewable area.

Syntax


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


var scrollPosition = listView.scrollPosition;
listView.scrollPosition = scrollPosition;

Property value

Type: Number

A value greater than or equal to 0 that specifies the distance, in pixels, between the first item in the list and the current viewable area.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Namespace

WinJS.UI

Library

Ui.js

See also

ListView

 

 

Build date: 12/5/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.