Control.addOnDragDrop

Overview | Methods | Fields | This Package | All Packages

Control.addOnDragDrop

Assigns a delegate to the dragDrop event.

Syntax

public final void addOnDragDrop( DragEventHandler value )

Parameters

value

The DragEventHandler delegate to be notified when the event occurs.

Remarks

Passing an event handler as a parameter to this method is equivalent to setting the dragDrop event to that method in the Properties window. The dragDrop event occurs when the user completes a drag-and-drop operation by dragging an object over the control and then dropping the object onto the control by releasing the mouse button.

See Also   removeOnDragDrop


Send feedback to MSDN.Look here for MSDN Online resources.