WinJS.UI.ListViewItems object

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

Applies to: Metro style apps only

Represents a selection of ListView items.

Syntax

var object = new WinJS.UI.ListViewItems(elements);

Members

The ListViewItems object has these types of members:

  • Methods

Methods

The ListViewItems object has these methods.

Method Description
forEachIndex Method

Iterates through each index in the selection and calls the specified function for each one.

getAllIndices Method

Retrieves the index for each item in the ListViewItems object.

getIndicesCount Method

Retrieves the number of items in the ListViewItems object.

ListViewItems Constructor

Creates a new ListViewItems object that contains the specified items.

 

Requirements

Minimum supported client

Windows 8 Consumer Preview

Minimum supported server

Windows Server 8 Beta

Namespace

WinJS.UI

Library

Ui.js

 

 

Build date: 3/7/2012