Compartir a través de


WinJS.UI.IItem interface

Represents an item in a list.

Members

The IItem interface has these types of members:

  • Properties

Properties

The IItem interface has these properties.

Property Access type Description

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