EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

WinJS.UI.VirtualizedDataSource object

Applies to Windows and Windows Phone

Serves as the base class for a custom IListDataSource.

Syntax


var object = new WinJS.UI.VirtualizedDataSource(listDataAdaptor);

Members

The VirtualizedDataSource object has these types of members:

Constructors

The VirtualizedDataSource object has these constructors.

ConstructorDescription
VirtualizedDataSource

Initializes the VirtualizedDataSource base class of a custom data source.

 

Events

The VirtualizedDataSource object has these events.

EventDescription
statuschanged

Occurs when the status of the VirtualizedDataSource changes.

 

Methods

The VirtualizedDataSource object has these methods.

MethodDescription
addEventListener

Registers an event handler for the specified event.

dispatchEvent

Raises an event of the specified type and with additional properties.

removeEventListener

Removes an event handler that the addEventListener method registered.

 

Remarks

This class implements the IListDataSource interface. For a complete list of members, see the IListDataSource interface.

Do not instantiate this class directly; only use it as a base class when you create your own, custom data source. For more info, see How to create a custom data source.

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

Library

Ui.js

See also

How to create a custom data source

 

 

Anzeigen:
© 2014 Microsoft