Click or drag to resize

ChromiumWebBrowserStartDragging Method

Version 99.2.120
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: 99.2.120.0 (99.2.120.0)
Syntax
protected virtual bool StartDragging(
	IDragData dragData,
	DragOperationsMask allowedOps,
	int x,
	int y
)

Parameters

dragData
Type: CefSharpIDragData
Contextual information about the dragged content
allowedOps
Type: CefSharp.EnumsDragOperationsMask
allowed operations
x
Type: SystemInt32
is the drag start location in screen coordinates
y
Type: SystemInt32
is the drag start location in screen coordinates

Return Value

Type: Boolean
Return true to handle the drag operation.
See Also