Sdílet prostřednictvím


ListView.itemsReorderable property

Gets or sets a value that specifies whether the ListView control's items can be reordered within itself by dragging and dropping.

Syntax

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

Property value

Type: Boolean

true if items can be reordered by dragging and dropping; otherwise, false. The default value is false.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ListView