Compartir a través de


WinJS.UI.ILayout2 interface

Represents a layout for the ListView.

Members

The ILayout2 interface has these types of members:

  • Methods
  • Properties

Methods

The ILayout2 interface has these methods.

Method Description
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.

Property Access type Description

orientation

Read/write

Gets or sets the orientation of the layout.

 

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI