itemDataSource property

ListView.itemDataSource property

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

Applies to: Metro style apps only

Gets or sets the data source that provides the ListView with items.

Syntax


<div data-win-control="WinJS.UI.ListView" data-win-options="{ itemDataSource : value}" />


var itemDataSource = listView.itemDataSource;
listView.itemDataSource = itemDataSource;

Property value

Type: IListDataSource

An IListDataSource that represents the data source from which the data-bound control retrieves its data. The default value is null.

Requirements

Minimum supported client

Windows 8 Consumer Preview

Minimum supported server

Windows Server 8 Beta

Namespace

WinJS.UI

Library

Ui.js

See also

ListView
Quickstart: Adding a ListView

 

 

Build date: 2/10/2012

Ajouts de la communauté

AJOUTER
Afficher:
© 2017 Microsoft