bool InternalBanDrop(int insertRowHandle, TreeListNode insertNode, DragDropManagerBase sourceManager) { if(ReferenceEquals(this, sourceManager)) foreach(TreeListNode node in sourceManager.DraggingRows) { if(ReferenceEquals(insertNode, node) || (insertNode!=null && insertNode.IsDescendantOf(node))) return true; } return false; }