Click or drag to resize

DefaultRenderHandlerStartDragging Method

Version 86.0.240
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: 86.0.240.0 (86.0.240.0)
Syntax
public virtual 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: Boolean
Return false to abort the drag operation.

Implements

IRenderHandlerStartDragging(IDragData, DragOperationsMask, Int32, Int32)
See Also