EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

WinJS.UI.IListBinding interface

Applies to Windows and Windows Phone

Retrieves items from a IListDataSource, enumerates the contents of a IListDataSource, and can optionally register for change notifications.

Members

The IListBinding interface has these types of members:

Methods

The IListBinding interface has these methods.

MethodDescription
current

Retrieves the current item.

first

Gets the first item from the IListDataSource and makes it the current item.

fromDescription

Retrieves the item from the IListDataSource that has the specified description and makes it the current item.

fromIndex

Retrieves the item from the IListDataSource that has the specified index and makes it the current item.

fromKey

Retrieves the item from the IListDataSource that has the specified key and makes it the current item.

jumpToItem

Makes the specified IItem or IItemPromise the current item.

last

Retrieves the last item in the IListDataSource and makes it the current item.

next

Retrieves the item after the current item and makes it the current item.

previous

Retrieves the item before the current item and makes it the current item.

release

Releases resources, stops notifications, and cancels outstanding promises for all tracked items returned by this IListBinding.

releaseItem

Creates a request to stop change notifications for the specified item. The change notifications stop when the number of releaseItem calls matches the number of IIItemPromise.retain calls.

 

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

 

 

Afficher:
© 2014 Microsoft