问题描述
我在寻找一个WPF拖放库/条/教程,可以:
I'm looking for a WPF drag drop library/article/tutorial that can:
- 将/下降到重新排序列表框项目
- 动画作为项目拖动(如图截屏)面板
我有一个快速浏览一下Telerik的DragDropManager,附带ListBoxDragDropBehavior。它提供拖/放重新排序,但不完全的行为在我的截图。
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.
我要找的行为是一样的Windows 8的开始屏幕
The behaviour I'm looking for is the same as Windows 8's start screen
推荐答案
检查出的它展示了如何通过拖放重新排序DataGrid行以及如何自定义拖放指示符移动WPF DataGrid行。
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拖放列表框中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!