TreeListDragOverEventArgs RaiseDragOverEvent(TreeListViewHitInfo hitInfo, DragDropManagerBase sourceManager) { TreeListDragOverEventArgs e = new TreeListDragOverEventArgs(hitInfo, sourceManager.DraggingRows) { Handled = false, Manager = this, SourceManager = sourceManager, }; if(DragOverEventHandler != null) DragOverEventHandler(this, e); return e; }
TreeListDropEventArgs RaiseDropEvent(DragDropManagerBase sourceManager, TreeListViewHitInfo hitInfo, TreeListNode insertNode, IList rows, DropTargetType dropTargetType) { TreeListDropEventArgs e = new TreeListDropEventArgs() { HitInfo = hitInfo, TargetNode = insertNode, DraggedRows = rows, DropTargetType = dropTargetType, Handled = false, Manager = this, SourceManager = sourceManager, DataControl = DataControl as GridDataControlBase, }; if(DropEventHandler != null) DropEventHandler(this, e); return e; }
public TreeListDragOverEventArgs(TreeListViewHitInfo hitInfo, IList dragRows) : base(dragRows) { HitInfo = hitInfo; }