首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > .NET >

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

2012-12-22 
surfacelistbox和ScatterView 实现拖拽图片的功能我后台代码生成的surfacelistbox,如何后台添加SurfaceDra

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 啊。。。。。。。。。。。
[其他解释]
自己给自己顶下。。。。。。。。。

热点排行