Used to represent drag data.
Namespace: CefSharpCefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)
Syntaxpublic interface IDragData : IDisposable
public interface class IDragData : IDisposable
The IDragData type exposes the following members.
Properties Name Description FileNameReturn the name of the file being dragged out of the browser window.
FileNamesRetrieve the list of file names that are being dragged into the browser window
FragmentBaseUrlReturn the base URL that the fragment came from. This value is used for resolving relative URLs and may be empty.
FragmentHtmlReturn the text/html fragment that is being dragged.
FragmentTextReturn the plain text fragment that is being dragged.
HasImageReturns true if an image representation of drag data is available.
ImageGet the image representation of drag data. May return NULL if no image representation is available.
ImageHotspotGet the image hotspot (drag start location relative to image dimensions).
IsDisposedGets a value indicating whether the object has been disposed of.
IsFileReturns true if the drag data is a file.
IsFragmentReturns true if the drag data is a text or html fragment.
IsLinkReturns true if the drag data is a link
IsReadOnlyReturns true if this object is read-only.
LinkMetaDataReturn the metadata, if any, associated with the link being dragged.
LinkTitleReturn the title associated with the link being dragged.
LinkUrlReturn the link URL that is being dragged.
Top Methods Name Description AddFileAdd a file that is being dragged into the webview.
ClearFilenamesClear list of filenames.
CloneGets a copy of the current drag data
DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.) GetFileContentsWrite the contents of the file being dragged out of the web view into the provided
StreamFor a suggested filename check the
FileNameproperty
ResetFileContentsReset the file contents. You should do this before calling CefBrowserHost::DragTargetDragEnter as the web view does not allow us to drag in this kind of data.
Top See AlsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4