tapBehavior property

ItemContainer.tapBehavior property

Applies to Windows and Windows Phone

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

Syntax


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


var tapBehavior = itemContainer.tapBehavior;
itemContainer.tapBehavior = tapBehavior;

Property value

Type:

One of the values defined by the TapBehavior enumeration. The default value is invokeOnly.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ItemContainer

 

 

Show:
© 2016 Microsoft