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

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

 

 

Show:
© 2014 Microsoft. All rights reserved.