TapBehavior enumeration
TOC
Réduire la table des matières
Développer la table des matières

WinJS.UI.TapBehavior enumeration

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

Applies to: Metro style apps only

Specifies how items respond to the tap interaction.

Syntax


var WinJS.UI.TapBehavior = {
  directSelect : "directSelect", 
  toggleSelect : "invoke", 
  invokeOnly : "invokeOnly", 
  none : "none"
}

Members

The TapBehavior enumeration has these members.

MemberValueDescription
directSelect"directSelect"

The item is selected and invoked.

toggleSelect"invoke"

The item is selected if was not already selected, and its deselected if it was already selected.

invokeOnly"invokeOnly"

The item is invoked but not selected.

none"none"

Nothing happens.

Remarks

Do not set a ListView control's TapBehavior property to "directSelect" when its SelectionMode is set to "none".

Requirements

Minimum supported client

Windows 8 Consumer Preview

Minimum supported server

Windows Server 8 Beta

Namespace

WinJS.UI

Library

Ui.js

See also

Quickstart: Adding a ListView

 

 

Build date: 2/10/2012

Ajouts de la communauté

AJOUTER
Afficher:
© 2017 Microsoft