문제

I'm looking for a WPF drag drop library/article/tutorial that can:

  1. Drag/drop to reorder list box items
  2. Animate the panel as item is dragged (as shown in screen shot)

I've had a quick look at Telerik's DragDropManager, which comes with ListBoxDragDropBehavior. It provides drag/drop reordering, but not quite the behaviour as in my screenshot.

I would love to learn to write one from scratch eventually (adorners, animated panels, etc), but I'm currently time-constrained to using out-of-the-box libraries.

enter image description here enter image description here

[edit]

The behaviour I'm looking for is the same as Windows 8's start screen

enter image description here

도움이 되었습니까?

해결책

Check out Moving WPF DataGrid Rows using Drag and Drop which shows how to reorder DataGrid rows via drag drop and how to customize the drag indicator.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top