/// <summary> /// Call this function when the user completes the drag operation by dropping /// the object onto the web view. The object being dropped is |dragData|, given /// as an argument to the previous <see cref="SendDragEnterEvent"/> call. /// <para/>This function is only used when window rendering is disabled. /// </summary> /// <param name="x"></param> /// <param name="y"></param> /// <param name="modifiers"></param> public void SendDragDropEvent(int x, int y, CefEventFlags modifiers) { CefBrowserHost browserHost = this.BrowserObject?.Host; if (browserHost is null) { return; } InitMouseEvent(x, y, modifiers); browserHost.DragTargetDrop(_mouseEventProxy); }