Interface ISupportDrop
Exposes methods for drop targets
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public interface ISupportDrop
Properties
AllowDrop
Determines whether the instance allows for drop operations.
Declaration
bool AllowDrop { get; }
Property Value
|
System.Boolean
|
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
|
System.Drawing.Point
dropLocation
An instance of System.Drawing.Point which represents a drop location. |
|
ISupportDrag
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
|
System.Drawing.Point
currentMouseLocation
The current position of the mouse cursor |
|
ISupportDrag
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
|
System.Drawing.Point
oldMouseLocation
The old position of the mouse cursor |
|
ISupportDrag
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
|
System.Drawing.Point
currentMouseLocation
The current position of the mouse cursor |
|
ISupportDrag
dragObject
An instance of the IDraggable which is dragged over the specified target. |
Returns
|
System.Boolean
True if the operation finished successfully, otherwise false. |