UIApplication.DoDragDrop(Object, IDropHandler)
Method
Description:
Initiates a drag and drop operation with a custom drop implementation.
Initiates a drag and drop operation with a custom drop implementation.
Remarks:
When the user inputs IControllableDropHandler, it allows the handler to verify whether the drop event can be executed on the given view; When the user inputs IDropHandler the handler will be executed without any condition.
When the user inputs IControllableDropHandler, it allows the handler to verify whether the drop event can be executed on the given view; When the user inputs IDropHandler the handler will be executed without any condition.
Parameters
Parameter | Type | Description |
---|---|---|
dropData | Object | Any arbitrary data to be passed to the drop handler when the drop occurs. |
handler | IDropHandler | The handler to be executed when the drop occurs. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when dropData or handler is. |