IDrag |
The IDragData type exposes the following members.
Name | Description | |
---|---|---|
FileName | Return the name of the file being dragged out of the browser window. | |
FileNames | Retrieve the list of file names that are being dragged into the browser window | |
FilePaths | Retrieve the list of file paths that are being dragged into the browser window | |
FragmentBaseUrl | Return the base URL that the fragment came from. This value is used for resolving relative URLs and may be empty. | |
FragmentHtml | Return the text/html fragment that is being dragged. | |
FragmentText | Return the plain text fragment that is being dragged. | |
HasImage | Returns true if an image representation of drag data is available. | |
Image | Get the image representation of drag data. May return NULL if no image representation is available. | |
ImageHotspot | Get the image hotspot (drag start location relative to image dimensions). | |
IsDisposed | Gets a value indicating whether the object has been disposed of. | |
IsFile | Returns true if the drag data is a file. | |
IsFragment | Returns true if the drag data is a text or html fragment. | |
IsLink | Returns true if the drag data is a link | |
IsReadOnly | Returns true if this object is read-only. | |
LinkMetaData | Return the metadata, if any, associated with the link being dragged. | |
LinkTitle | Return the title associated with the link being dragged. | |
LinkUrl | Return the link URL that is being dragged. |
Name | Description | |
---|---|---|
AddFile | Add a file that is being dragged into the webview. | |
ClearFilenames | Clear list of filenames. | |
Clone | Gets a copy of the current drag data | |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable) | |
GetFileContents | Write the contents of the file being dragged out of the web view into the provided Stream For a suggested filename check the FileName property | |
ResetFileContents | Reset 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. |