swipeBehavior property

ListView.swipeBehavior property

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

Applies to: Metro style apps only

Gets or sets how the ListView reacts to the swipe gesture. The swipe gesture can select the swiped items or can have no effect on the current selection.

Syntax


<div data-win-control="WinJS.UI.ListView" data-win-options="{ swipeBehavior : 'value'}">
</div>


var swipeBehavior = listView.swipeBehavior;
listView.swipeBehavior = swipeBehavior;

Property value

Type: SwipeBehavior

One of the values defined by the SwipeBehavior enumeration.

Requirements

Minimum supported client

Windows 8 Consumer Preview

Minimum supported server

Windows Server 8 Beta

Namespace

WinJS.UI

Library

Ui.js

See also

ListView
ListView interaction sample

 

 

Build date: 2/10/2012

Ajouts de la communauté

AJOUTER
Afficher:
© 2016 Microsoft