Experimental: this API is experimental and might be changed or removed in the future.

IDropTarget.CanAcceptDrop

切换到手册
public bool CanAcceptDrop (List<ISelectable> selection);

参数

selection选择的元素。

返回

bool Returns true if the dragged source can be dropped on the target interface. Returns false otherwise.

描述

Indicates if the dragged source can be dropped on the target interface.