InterfaceISupportDrop
Exposes methods for drop targets
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public interface ISupportDrop
Properties
Methods
DragDrop(Point, ISupportDrag)
Completes drag-drop operation of instance of the IDraggable over the specified target.
Declaration
void DragDrop(Point dropLocation, ISupportDrag dragObject)
Parameters
dropLocation
An instance of Point which represents a drop location.
dragObject
An instance of the IDraggable which is dragged over the target.
DragEnter(Point, ISupportDrag)
Drop operations to occur in the drop target. Called when the cursor first enters the specified target.
Declaration
void DragEnter(Point currentMouseLocation, ISupportDrag dragObject)
Parameters
currentMouseLocation
The current position of the mouse cursor
dragObject
An instance of the IDraggable which is dragged over the target.
DragLeave(Point, ISupportDrag)
Special behavior when the drag operation leaves the specified target.
Declaration
void DragLeave(Point oldMouseLocation, ISupportDrag dragObject)
Parameters
oldMouseLocation
The old position of the mouse cursor
dragObject
An instance of the IDraggable which is dragged over the target.
DragOver(Point, ISupportDrag)
Handles drag over operation when the cursor is moving over the drop target.
Declaration
bool DragOver(Point currentMouseLocation, ISupportDrag dragObject)
Parameters
currentMouseLocation
The current position of the mouse cursor
dragObject
An instance of the IDraggable which is dragged over the specified target.
Returns
True if the operation finished successfully, otherwise false.