ItemContainer.selected property

Applies to Windows and Windows Phone

Gets or sets a value that specifies whether the item is selected.

Syntax


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


var selected = itemContainer.selected;
itemContainer.selected = selected;

Property value

Type: Boolean

true if the item is selected; otherwise, 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

 

 

Show:
© 2014 Microsoft