Silverlight 3工具箱:如何从ListBoxDragDropTarget获取放置目标 [英] Silverlight 3 Toolkit : How to get the Drop Target from ListBoxDragDropTarget

查看:86
本文介绍了Silverlight 3工具箱:如何从ListBoxDragDropTarget获取放置目标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我需要获得Drop目标的帮助.我正在使用Silverlight 3 Toolkit中的ListBoxDragDropTarget.我的情况如下:

我有两个名为"firstList"和"secondList"的列表框.
我想将一个项目从firstList拖放到secondList.
一旦删除,我想向用户显示一条消息.

我添加了一个事件,但两个列表框均触发了该事件.因此,我需要获取放置目标名称,但找不到任何选项.

请帮帮我.

问候,
Kunal

Hi guys,

I need help on getting the Drop target. I am using ListBoxDragDropTarget from Silverlight 3 Toolkit. My scenario is as below:

I have two listbox named "firstList" and "secondList".
I want to drop an item from firstList to secondList.
Once dropped I want to show a message to the user.

I added an event but the event is firing for both the listbox. Hence I need to get the drop target name but didn''t find any option.

Please help me.

Regards,
Kunal

推荐答案

查看是否
See if this post can help you out in anyway.


在以下链接中找到完整的演示和源代码...

可能是您缺少了一些东西.

http://silverlightfeeds.com/post/1325/Silverlight_Toolkit_adds_DragDrop_targets.aspx [
Find full demo and source code in following link...

Might be you are missing something..

http://silverlightfeeds.com/post/1325/Silverlight_Toolkit_adds_DragDrop_targets.aspx[^]


HTH


这篇关于Silverlight 3工具箱:如何从ListBoxDragDropTarget获取放置目标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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