Share via


WinJS.Binding.FilteredListProjection object

Do not instantiate. A list returned by the createFiltered method.

Syntax

var filteredList = list.createFiltered(predicate);

Members

The FilteredListProjection object has these types of members:

  • Methods
  • Properties

Methods

The FilteredListProjection object has these methods.

Method Description
getItem

Returns a key/data pair for the specified index.

indexOfKey

Returns the index of the first occurrence of a key in a list.

notifyMutated

Forces the list to send a itemmutated notification to any listeners for the value at the specified index.

setAt

Replaces the value at the specified index with a new value.

 

Properties

The FilteredListProjection object has these properties.

Property Access type Description

length

Read/write

The length of the list. Returns an integer value one higher than the highest element defined in an list.

 

Remarks

This object inherits from WinJS.Binding.List. You can manipulate a FilteredListProjection using many of the same techniques as a List object.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Binding