Compartilhar via


ListView.itemsDraggable property

Gets or sets a value that specifies whether items can be dragged. When this is set to true, the ListView provides built in behaviors related to item dragging.

Syntax

<div 
    data-win-control="WinJS.UI.ListView" 
    data-win-options="{ itemsDraggable : value}" >
</div>
var itemsDraggable = listView.itemsDraggable;
listView.itemsDraggable = itemsDraggable;

Property value

Type: Boolean

true if items can be dragged; otherwise, false. The default value is false.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ListView