Sketchflow MouseDragElementBehavior [英] Sketchflow MouseDragElementBehavior

查看:96
本文介绍了Sketchflow MouseDragElementBehavior的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 -

Hi - 


推荐答案

查看欢迎屏幕上的SnowboardSketch示例。在那里,你会找到一个行为--DragDropCopyItemBehavior - 它可以做你想要的。如果其中一个ListBox是数据绑定,并且ListBox具有此特定行为,则可以将数据项拖放到另一个ListBox中。

当然,这只是一个示例行为,我们必须展示这个概念 - 你可以将它扩展到你想要的那样复杂。

谢谢!
Unni
Take a look at the SnowboardSketch sample from the Welcome screen. In there, you will find a Behavior - DragDropCopyItemBehavior - that does what you want. If one of the ListBoxes is databound, and that ListBox has this particular Behavior, you can drag and drop a data item into another ListBox. Of course, this is just a sample Behavior that we have to demonstrate the concept - you could extend this to be as sophisticated as you might desire it to be. Thanks! Unni


这篇关于Sketchflow MouseDragElementBehavior的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆