void RaiseDroppedEvent(DragDropManagerBase sourceManager, GridDropEventArgs dropEventArgs){ if(DroppedEventHandler != null) { GridDroppedEventArgs e = new GridDroppedEventArgs() { GridControl = GridControl, TargetRowHandle = dropEventArgs.TargetRowHandle, HitInfo = dropEventArgs.HitInfo, Manager = this, DraggedRows = dropEventArgs.DraggedRows, SourceManager = sourceManager, DropTargetType = dropEventArgs.DropTargetType, }; DroppedEventHandler(this, e); } }
GridDropEventArgs RaiseDropEvent(DragDropManagerBase sourceManager, TableViewHitInfo hitInfo, IList rows, DropTargetType dropTargetType) { GridDropEventArgs e = new GridDropEventArgs() { HitInfo = hitInfo, DraggedRows = rows, DropTargetType = dropTargetType, Handled = false, Manager = this, SourceManager = sourceManager, GridControl = GridControl, }; if(DropEventHandler != null) DropEventHandler(this, e); return e; }