Click or drag to resize

CefDragData Methods

The CefDragData type exposes the following members.

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 
Public methodEqualsDetermines 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 methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets 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 methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also