Interface
ISupportDrop

Exposes methods for drop targets

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public interface ISupportDrop

Properties

AllowDrop

Determines whether the instance allows for drop operations.

Declaration

cs-api-definition
bool AllowDrop { get; }

Property Value

bool

Methods

DragDrop(Point, ISupportDrag)

Completes drag-drop operation of instance of the IDraggable over the specified target.

Declaration

cs-api-definition
void DragDrop(Point dropLocation, ISupportDrag dragObject)

Parameters

dropLocation

Point

An instance of Point which represents a drop location.

dragObject

ISupportDrag

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

cs-api-definition
void DragEnter(Point currentMouseLocation, ISupportDrag dragObject)

Parameters

currentMouseLocation

Point

The current position of the mouse cursor

dragObject

ISupportDrag

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

cs-api-definition
void DragLeave(Point oldMouseLocation, ISupportDrag dragObject)

Parameters

oldMouseLocation

Point

The old position of the mouse cursor

dragObject

ISupportDrag

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

cs-api-definition
bool DragOver(Point currentMouseLocation, ISupportDrag dragObject)

Parameters

currentMouseLocation

Point

The current position of the mouse cursor

dragObject

ISupportDrag

An instance of the IDraggable which is dragged over the specified target.

Returns

bool

True if the operation finished successfully, otherwise false.