我使用microsoft提供的示例将对象从ScatteredView拖放到Surface List Box但是它不起作用 [英] I used the example gave by microsoft to drag and drop an object from a ScatteredView to a Surface List Box but it is not working
问题描述
我开发了微软给出的示例,用于将散点图和对象从散点图拖放到曲面列表框。
散点图正在运行,我可以在其上移动对象。但是当我尝试将它们拖放到Surface ListBox上时,没有任何事情发生。
我在OnDragSourcePreviewContactDown方法上设置了一个断点,但它没有输入。
任何人都知道可能是什么原因?
感谢您的回答
我的所有源文件都在那里:
nmaujean.free.fr/surface
您指的是哪个示例代码?
您可能希望将SurfaceListBox设置为启用删除操作的ScatterViewItem。
您是否看过Surface SDK附带的ShoppingCart示例?
谢谢!
-Luis Cabrera
Hi,
I developped the example given by Microsoft to drag and drop and object from a scatterview to a surface list box.
The scatterview is working, I can move the objects on it. But when I try to drag and drop them on the Surface ListBox nothing happen.
I posed a breakpoint on the method OnDragSourcePreviewContactDown but it doesn't enter in.
Anyone have an idea what could be the reason ?
Thanks for your answers
All my source files are there : nmaujean.free.fr/surface
What sample code are you referring to?
You may want to make the SurfaceListBox be a ScatterViewItem that enables dropping operation.
Have you looked athe ShoppingCart sample that ships with the Surface SDK?
Thanks!
-Luis Cabrera
这篇关于我使用microsoft提供的示例将对象从ScatteredView拖放到Surface List Box但是它不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!