Reorder Items by Drag & Drop for Windows Phone
Many people love the start screen of Windows Phone. It is simple, elegant and responsive. It allows rearrangement by drag & drop.
It is surprising that reordering items by drag & drop in a Windows Phone app is not straightforward. Fortunately, Jason Ginchereau from Microsoft has provided a superb implementation of a ListBox with such a feature. It is named ReorderListBox.
ReorderListBox can be used like a regular Windows Phone control in the tool box. The best way to utilize it is to add Ginchereau's code to a library, then the control can be dragged and dropped to an app page. The following files and a folder from Ginchereau's project need to be added to the library:
- Foldder Themes
- NegativeValueConverter.cs
- PullDownToRefreshPanel.cs
- ReorderListBox.cs
- ReorderListBoxItem.cs