コード例 #1
0
ファイル: DragAndDropManager.cs プロジェクト: 6ruce/raiseon
 private bool CanDrop(IDropTarget dropTarget, MouseEventArgs e)
 {
     if (!dropTarget.CanMultipleDrop && IsMultipleDrag)
     {
         return(false);
     }
     foreach (var item in _currentDragSources)
     {
         if (!dropTarget.CanDrop(item, e))
         {
             return(false);
         }
     }
     return(true);
 }