Method GetDroppableObjectForPath
GetDroppableObjectForPath(string, out T)
This method is called when the user drops a file on the target.
Declaration
protected virtual bool GetDroppableObjectForPath(string path, out T obj)
Parameters
Type | Name | Description |
---|---|---|
string | path | The path of the file dropped on the target. |
T | obj | The object to be dropped. |
Returns
Type | Description |
---|---|
bool | True if the object is valid and can be dropped, false otherwise. |
Remarks
The result will be cached and this cache will be invalidated when the current drag operation ends.