IListBinding interface
TOC
Réduire la table des matières
Développer la table des matières

WinJS.UI.IListBinding interface

[This documentation is preliminary and is subject to change.]

Applies to: Metro style apps only

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 Consumer Preview

Minimum supported server

Windows Server 8 Beta

Namespace

WinJS.UI

 

 

Build date: 2/10/2012

Ajouts de la communauté

AJOUTER
Afficher:
© 2016 Microsoft