WinJS.UI.IListBinding interface

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.
| Method | Description |
|---|---|
| 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 WinJS version |
WinJS 3.0 |
|---|---|
|
Namespace |
WinJS.UI |