Windows Dev Center

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 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

FlipView
Promise

 

 

Show:
© 2015 Microsoft