开发者

Silverlight 4 Drag and Drop Alternatives

I want to add the ability to drag a user control from one part of a Silverlight 4 page onto another user control on the same page (not talking about the new Silverlight 4 ability to drag a file from the OS onto the page).

What approach is most straightforward? What approach offers the most flexibility?

Here are some alternatives I found so far

  • S开发者_如何学JAVAO drag-and-drop-control-for-silverlight. Same question but answers apply to SL 2.
  • Alex van Beek's DragManager. Written for SL3.
  • Silverlight Drag Drop. Also written for SL3.


I can't compare all of the options you've listed but if I wanted to implement control to control drag drop feature I would the DragDrop and the DragDropTarget classes from the Silveright Toolkit. Its the only DragDrop framework I know of that has been refreshed for SL4 and if you already use elements from the Toolkit then that would be a natural solution.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜