WinJS.UI.ListLayout object

0 out of 2 rated this helpful - Rate this topic

Represents a layout for the ListView in which items are arranged in a vertical list.

Syntax


<div data-win-control="WinJS.UI.ListView" 
     data-win-options="{layout: {type: WinJS.UI.ListLayout}}">
</div>



var object = new WinJS.UI.ListLayout();

Members

The ListLayout object has these types of members:

Methods

The ListLayout object has these methods.

MethodDescription
calculateFirstVisible

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

calculateLastVisible

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

endLayout

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

getItemPosition

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

getKeyboardNavigatedItem

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

getScrollbarRange

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

hitTest

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

init Method

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

itemsAdded

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

itemsMoved

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

itemsRemoved

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

layoutHeader

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

layoutItem

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

ListLayout Constructor

Creates a new ListLayout.

prepareHeader

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

prepareItem

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

releaseItem

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

reset Method

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

setSite Method

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

startLayout

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

updateBackdrop

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

 

Properties

The ListLayout object has these properties.

PropertyDescription

backdropColor

Gets or sets the fill color for the default pattern used for the backdrops.

disableBackdrop

Gets or sets a value that indicates whether the layout should disable the backdrop feature which avoids blank areas while panning in a virtualized list.

groupInfo

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

horizontal Property

Gets a value that indicates whether items are laid out horizontally.

itemInfo

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

 

Remarks

Groups and cell-spanning are not supported when using a ListLayout.

This object implements the ILayout interface.

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

 

 

Build date: 12/5/2012

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