EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

ItemContainer.selectionDisabled property

Applies to Windows and Windows Phone

Gets or sets a value that specifies whether selection of this item is disabled.

Syntax


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


var selectionDisabled = itemContainer.selectionDisabled;
itemContainer.selectionDisabled = selectionDisabled;

Property value

Type: Boolean

true if the item can't be selected; otherwise, false. The default value is false.

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

Library

Ui.js

See also

ItemContainer

 

 

Mostrar:
© 2014 Microsoft