ThemedControlHandlerTControl, TWidget, TCallbackDoDragDrop Method |
Starts drag operation using this control as drag source.
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public void DoDragDrop(
DataObject data,
DragEffects allowedAction,
Image image,
PointF cursorOffset
)
Public Sub DoDragDrop (
data As DataObject,
allowedAction As DragEffects,
image As Image,
cursorOffset As PointF
)
abstract DoDragDrop :
data : DataObject *
allowedAction : DragEffects *
image : Image *
cursorOffset : PointF -> unit
override DoDragDrop :
data : DataObject *
allowedAction : DragEffects *
image : Image *
cursorOffset : PointF -> unit
Parameters
- data
- Type: Eto.FormsDataObject
Drag data. - allowedAction
- Type: Eto.FormsDragEffects
Allowed action. - image
- Type: Eto.DrawingImage
Custom drag image - cursorOffset
- Type: Eto.DrawingPointF
Offset of the cursor to the drag image
Implements
ControlIHandlerDoDragDrop(DataObject, DragEffects, Image, PointF)See Also