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.
WPF drag drop listbox
-
12-10-2022 - |
문제
I'm looking for a WPF drag drop library/article/tutorial that can:
- Drag/drop to reorder list box items
- 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.
[edit]
The behaviour I'm looking for is the same as Windows 8's start screen
해결책
제휴하지 않습니다 StackOverflow