EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

ILayout.getScrollBarRange method

Applies to Windows only

This API is no longer supported. Starting with the Windows Library for JavaScript 2.0 Preview, use the ILayout2 interface. Calculates the number of pixels needed to render all the items in the ListView.

Syntax


iLayout.getScrollBarRange().done( /* Your success and error handlers */ );

Parameters

This method has no parameters.

Return value

Type: Promise

A Promise that returns an object that has these properties:

  • beginScrollPosition: The first pixel of the scroll bar range, usually 0.
  • endScrollPosition: The last pixel in the scroll bar range, usually the size of the ListView control's win-surface element.

Remarks

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

WinJS.UI

See also

ILayout

 

 

Afficher:
© 2014 Microsoft