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.
| Method | Description |
|---|---|
| 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.
| Property | Description |
|---|---|
|
Gets or sets the fill color for the default pattern used for the backdrops. | |
|
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. | |
|
This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code. | |
|
Gets a value that indicates whether items are laid out horizontally. | |
|
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 |
|
Build date: 12/5/2012