Click or drag to resize

CefDragData Class

Class used to represent drag data. The methods of this class may be called on any thread.
Inheritance Hierarchy
SystemObject
  Internal.Xilium.CefGlueCefDragData

Namespace:  Internal.Xilium.CefGlue
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public sealed class CefDragData : IDisposable

The CefDragData type exposes the following members.

Properties
  NameDescription
Public propertyFileName
Return the name of the file being dragged out of the browser window.
Public propertyFragmentBaseUrl
Return the base URL that the fragment came from. This value is used for resolving relative URLs and may be empty.
Public propertyFragmentHtml
Return the text/html fragment that is being dragged.
Public propertyFragmentText
Return the plain text fragment that is being dragged.
Public propertyIsFile
Returns true if the drag data is a file.
Public propertyIsFragment
Returns true if the drag data is a text or html fragment.
Public propertyIsLink
Returns true if the drag data is a link.
Public propertyIsReadOnly
Returns true if this object is read-only.
Public propertyLinkMetadata
Return the metadata, if any, associated with the link being dragged.
Public propertyLinkTitle
Return the title associated with the link being dragged.
Public propertyLinkUrl
Return the link URL that is being dragged.
Top
Methods
  NameDescription
Public methodAddFile
Add a file that is being dragged into the webview.
Public methodClone
Returns a copy of the current object.
Public methodStatic memberCreate
Create a new CefDragData object.
Public methodDispose
Releases all resources used by the CefDragData
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodGetFileContents
Write the contents of the file being dragged out of the web view into |writer|. Returns the number of bytes sent to |writer|. If |writer| is NULL this method will return the size of the file contents in bytes. Call GetFileName() to get a suggested name for the file.
Public methodGetFileNames
Retrieve the list of file names that are being dragged into the browser window.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodResetFileContents
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.
Public methodSetFragmentBaseURL
Set the base URL that the fragment came from.
Public methodSetFragmentHtml
Set the text/html fragment that is being dragged.
Public methodSetFragmentText
Set the plain text fragment that is being dragged.
Public methodSetLinkMetadata
Set the metadata associated with the link being dragged.
Public methodSetLinkTitle
Set the title associated with the link being dragged.
Public methodSetLinkURL
Set the link URL that is being dragged.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also