private bool InRecycleBin(Point point) { Point originRecycleBin = RecycleBin.TranslatePoint(new Point(0, 0), Workbench); Rect recycleBinRect = new Rect(0, 0, originRecycleBin.X + RecycleBin.ActualWidth, originRecycleBin.Y + RecycleBin.ActualHeight); return(recycleBinRect.Contains(point)); }