ListView.itemsDraggable property

Applies to Windows only

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 supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

WinJS.UI

Library

Ui.js

See also

ListView

 

 

Show:
© 2014 Microsoft