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

WinJS.UI.GridLayout object

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

Applies to: Metro style apps only

Represents a grid layout for the ListView in which items are arranged horizontally and vertically.

Syntax


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



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

Members

The GridLayout object has these types of members:

Methods

The GridLayout object has these methods.

MethodDescription
calcFirstDisplayedItem Method

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

calcLastDisplayedItem Method

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

dataModified Method

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

dragEnd Method

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

dragEnter Method

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

dragLeave Method

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

dragOver Method

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

endLayout Method

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 Method

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

getItemPosition Method

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

getScrollbarRange Method

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

GridLayout Constructor

Creates a new GridLayout object.

hitTest Method

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 Method

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

layoutItem Method

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

prepareItem Method

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 Method

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

 

Properties

The GridLayout object has these properties.

PropertyDescription

groupHeaderPosition Property

Gets or sets the position of group headers.

groupInfo Property

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.

maxRows Property

Gets or sets the maximum number of rows displayed by the ListView.

 

Requirements

Minimum supported client

Windows 8 Consumer Preview

Minimum supported server

Windows Server 8 Beta

Namespace

WinJS.UI

Library

Ui.js

See also

ListView

 

 

Build date: 2/10/2012

Ajouts de la communauté

AJOUTER
Afficher:
© 2017 Microsoft