CefDragData Class |
Namespace: Internal.Xilium.CefGlue
public sealed class CefDragData : IDisposable
The CefDragData type exposes the following members.
| Name | Description | |
|---|---|---|
| FileName |
Return the name of the file being dragged out of 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.
| |
| 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.
| |
| Clone |
Returns a copy of the current object.
| |
| Create |
Create a new CefDragData object.
| |
| Dispose | Releases all resources used by the CefDragData | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | (Overrides ObjectFinalize.) | |
| GetFileContents |
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.
| |
| GetFileNames |
Retrieve the list of file names that are being dragged into the browser
window.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| 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.
| |
| SetFragmentBaseURL |
Set the base URL that the fragment came from.
| |
| SetFragmentHtml |
Set the text/html fragment that is being dragged.
| |
| SetFragmentText |
Set the plain text fragment that is being dragged.
| |
| SetLinkMetadata |
Set the metadata associated with the link being dragged.
| |
| SetLinkTitle |
Set the title associated with the link being dragged.
| |
| SetLinkURL |
Set the link URL that is being dragged.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) | |
| PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
| PropertyGetT(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx.) |