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.IItem interface

Applies to Windows and Windows Phone

Represents an item in a list.

Members

The IItem interface has these types of members:

Properties

The IItem interface has these properties.

PropertyAccess typeDescription

data

Read/write

Gets or sets the item's data.

firstItemIndexHint

Read/write

This API supports the WinJS infrastructure and is not intended to be used directly from your code.

groupIndexHint

Read/write

This API supports the WinJS infrastructure and is not intended to be used directly from your code.

groupKey

Read/write

Gets the group key for the item. This property is only available for items that belong to a grouped data source.

handle

Read-only

Gets the temporary ID of the item.

index

Read-only

Gets the item's index in the IListDataSource.

key

Read/write

Gets or sets the key the identifies the item.

 

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

 

 

Show: