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 supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

 

 

Show:
© 2014 Microsoft