ItemContainer.selectionDisabled property

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 WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ItemContainer