Ant Organisation Ltd documentation

DropTarget.CanDrop Method 

Tests whether an object can be dropped on this item at the specified point.

bool CanDrop(
   int x,
   int y,
   DragObjectInfo dragObject
);

Parameters

x
x-coordinate of drag point.
y
y-coordinate of drag point.
dragObject
Object to be dropped.

Return Value

True if the drop is allowed.

See Also

DropTarget Interface | Ant.Shared.Windows.DragDrop Namespace