Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This API is no longer supported. Starting with the Windows Library for JavaScript 2.0 Preview, use a the ILayoutSite2 interface. Gets the size of the ListView control's viewport element.
Syntax
var viewportSize = iLayoutSite.viewportSize;
Property value
Type: Object
The size of the ListView control's viewport element. The returned object has these properties:
width
IntegerThe width of the win-viewport element.
height
IntegerThe height of the win-viewport element.
Requirements
Minimum WinJS version |
WinJS 3.0 |
Namespace |
WinJS.UI |