Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FlipView.count method

Applies to Windows and Windows Phone

Returns the number of items in the FlipView control's itemDataSource.

Syntax


flipView.count().done( /* Your success and error handlers */ );

Parameters

This method has no parameters.

Return value

Type: Promise

A Promise that contains the number of items in the list or WinJS.UI.CountResult.unknown if the count is unavailable.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

FlipView
Promise

 

 

Show: