ListView.tapBehavior property

This topic has not yet been rated - Rate this topic

Gets or sets how the ListView reacts when the user taps or clicks an item.

Syntax


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


var tapBehavior = listView.tapBehavior;
listView.tapBehavior = tapBehavior;

Property value

Type: TapBehavior

One of the values defined by the TapBehavior enumeration. The default value is invokeOnly. Do not set the TapBehavior property to "directSelect" when the SelectionMode is set to "none".

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Namespace

WinJS.UI

Library

Ui.js

See also

ListView
ListView interaction sample
Tap Enumeration

 

 

Build date: 12/5/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.