ListLayout object
TOC
Réduire la table des matières
Développer la table des matières

WinJS.UI.ListLayout object

[This documentation is preliminary and is subject to change.]

Applies to: Metro style apps only

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
calcFirstDisplayedItem

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

calcLastDisplayedItem

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

dataModified

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

dragEnd

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

dragEnter

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

dragLeave

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

dragOver

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.

getAdjacent Method

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

getItemOffset

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.

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.

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

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.

 

Properties

The ListLayout object has these properties.

PropertyDescription

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.

 

Requirements

Minimum supported client

Windows 8 Consumer Preview

Minimum supported server

Windows Server 8 Beta

Namespace

WinJS.UI

Library

Ui.js

 

 

Build date: 2/10/2012

Ajouts de la communauté

AJOUTER
Afficher:
© 2017 Microsoft