专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > Delphi

surfacelistbox跟ScatterView 实现拖拽图片的功能

发布时间:2011-06-24 19:38:06 文章来源:www.iduyao.cn 采编人员:星星草
surfacelistbox和ScatterView 实现拖拽图片的功能
我后台代码生成的surfacelistbox,如何后台添加SurfaceDragDrop.DragEnter事件?  
前台生成代码:<s:SurfaceListBox
        Name="DropTarget" 
        Grid.Column="1"
        Width="210" Margin="50"
        Background="Gray"
        AllowDrop="True"
        ItemTemplate="{StaticResource SurfaceListBoxItemDataTemplate}"
        ItemsSource="{Binding Path=TargetItems}"
        s:SurfaceDragDrop.DragEnter="DropTargetDragEnter"
        s:SurfaceDragDrop.DragLeave="DropTargetDragLeave"
        s:SurfaceDragDrop.Drop="DropTargetDrop"/>
后台实例化SurfaceListBox,
SurfaceListBox listbox=new SurfaceListBox();如何添加 
        s:SurfaceDragDrop.DragEnter="DropTargetDragEnter"
        s:SurfaceDragDrop.DragLeave="DropTargetDragLeave"
        s:SurfaceDragDrop.Drop="DropTargetDrop"这几个事件,高手指点啊。。。。。。。。。。。。。。。
------最佳解决方案--------------------
顶下。。。。。。。。。
------其他解决方案--------------------
help me 啊。。。。。。。。。。。
------其他解决方案--------------------
自己给自己顶下。。。。。。。。。
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: