IRenderHandlerStartDragging Method |
Version 98.1.210
Called when the user starts dragging content in the web view. Contextual information about the dragged content is
supplied by dragData. OS APIs that run a system message loop may be used within the StartDragging call.
Don't call any of the IBrowserHost.DragSource*Ended* methods after returning false.
Return true to handle the drag operation. Call
DragSourceEndedAt(Int32, Int32, DragOperationsMask) and
DragSourceSystemDragEnded either synchronously or asynchronously to inform
the web view that the drag operation has ended.
Namespace:
CefSharp.OffScreen
Assembly:
CefSharp.OffScreen (in CefSharp.OffScreen.dll) Version: 98.1.210.0 (98.1.210.0)
Syntax bool StartDragging(
IDragData dragData,
DragOperationsMask mask,
int x,
int y
)
bool StartDragging(
IDragData^ dragData,
DragOperationsMask mask,
int x,
int y
)
Parameters
- dragData
- Type: CefSharpIDragData
drag data - mask
- Type: CefSharp.EnumsDragOperationsMask
operation mask - x
- Type: SystemInt32
combined x and y provide the drag start location in screen coordinates - y
- Type: SystemInt32
combined x and y provide the drag start location in screen coordinates
Return Value
Type:
BooleanReturn false to abort the drag operation.
See Also