Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WinJS.UI.ILayout2 interface

Applies to Windows and Windows Phone

Represents a layout for the ListView.

Members

The ILayout2 interface has these types of members:

Methods

The ILayout2 interface has these methods.

MethodDescription
dragLeave

Called when the ListView finishes a drag operation.

dragOver

Called when the ListView initiates a drag operation.

executeAnimations

Called when the ListView requests that the ILayout2 execute animations.

getAdjacent

Determines the next item to receive keyboard focus.

hitTest

Gets the item at the specified hit-test coordinates. These coordinates are absolute coordinates (they are not relative to the layout's content area).

initialize

Sets the rendering site and specifies whether the layout supports groups. This method is called by the ListView to initialize the layout.

itemsFromRange

Retrieves the indexes of the items in the specified pixel range.

layout

Performs a layout pass.

setupAnimations

Called when the ListView requests that the ILayout2 set up animations.

uninitialize

Releases resources that were obtained during the call to initialize.

 

Properties

The ILayout2 interface has these properties.

PropertyAccess typeDescription

orientation

Read/write

Gets or sets the orientation of the layout.

 

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

 

 

Show: