共用方式為


ILayoutSite.scrollbarPos property

This API is no longer supported. Starting with the Windows Library for JavaScript 2.0 Preview, use a the ILayoutSite2 interface. Gets the current scroll bar position.

Syntax

var scrollbarPos = iLayoutSite.scrollbarPos;

Property value

Type: Integer

The current scroll bar position. If the ILayout is horizontal, this is an x-coordinate value. Otherwise, this is a y-coordinate value.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ILayoutSite