A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cefsharp.github.io/api/118.6.x/html/T_CefSharp_IDragData.htm below:

Version 118.6.80

Used to represent drag data.

Namespace:  CefSharp
Assembly:

CefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)

Syntax
public interface IDragData : IDisposable
public interface class IDragData : IDisposable

The IDragData type exposes the following members.

Properties   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

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.

Top Methods   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.

Top See Also

RetroSearch 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