ChromiumWebBrowserStartDragging Method |
Version 109.1.110
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: 109.1.110.0 (109.1.110.0)
Syntax protected virtual bool StartDragging(
IDragData dragData,
DragOperationsMask allowedOps,
int x,
int y
)
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:
BooleanReturn true to handle the drag operation.
See Also