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 |
|
See also
Build date: 12/5/2012