Click or drag to resize

ChromiumWebBrowserStartDragging Method

Version 130.1.90
Called when the user starts dragging content in the web view. OS APIs that run a system message loop may be used within the StartDragging call. Don't call any of IBrowserHost::DragSource*Ended* methods after returning false. Call IBrowserHost.DragSourceEndedAt and DragSourceSystemDragEnded either synchronously or asynchronously to inform the web view that the drag operation has ended.

Namespace: CefSharp.Wpf
Assembly: CefSharp.Wpf (in CefSharp.Wpf.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax
protected virtual bool StartDragging(
	IDragData dragData,
	DragOperationsMask allowedOps,
	int x,
	int y
)

Parameters

dragData  IDragData
Contextual information about the dragged content
allowedOps  DragOperationsMask
allowed operations
x  Int32
is the drag start location in screen coordinates
y  Int32
is the drag start location in screen coordinates

Return Value

Boolean
Return true to handle the drag operation.
See Also