Partager via


CoreWebView2CompositionController.DragOver(UInt32, Point) Method

Definition

The drag operation is over the WebView.

public uint DragOver (uint keyState, System.Drawing.Point point);
member this.DragOver : uint32 * System.Drawing.Point -> uint32
Public Function DragOver (keyState As UInteger, point As Point) As UInteger

Parameters

keyState
UInt32

The keyState from IDropTarget::DragOver.

point
Point

The point from IDropTarget::DragOver.

Returns

A uint that is set as the effect for IDropTarget::DragOver.

Remarks

The hosting application must register as an IDropTarget and implement and forward DragOver calls to this function. In addition, the hosting application needs to create an IDropTargetHelper and call the corresponding IDropTargetHelper::DragOver function on that object before forwarding the call to the WebView.

Applies to