IRenderHandlerStartDragging Method |
Version 67.0.0
Called when the user starts dragging content in the web view. Contextual information about the dragged content is
supplied by dragData. (|x|, |y|) is the drag start location in screen coordinates. OS APIs that run a system message
loop may be used within the StartDragging call. Return false to abort the drag operation. Don't call any of
CefBrowserHost::DragSource*Ended* methods after returning false. Return true to handle the drag operation.
Call IBrowserHost::DragSourceEndedAt 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: 67.0.0.0 (67.0.0.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
x coordinate - y
- Type: SystemInt32
y coordinate
Return Value
Type:
BooleanReturn false to abort the drag operation.
See Also