DataObject Class |
Namespace: Eto.Forms
The DataObject type exposes the following members.
| Name | Description | |
|---|---|---|
| DataObject |
Initializes a new instance of the DataObject class.
| |
| DataObject(DataObjectIHandler) |
Initializes a new instance of the DataObject class.
|
| Name | Description | |
|---|---|---|
| ContainsHtml |
Gets a value indicating whether this DataObject contains a value for Html.
| |
| ContainsImage |
Gets a value indicating whether this DataObject contains a value for Image.
| |
| ContainsText |
Gets a value indicating whether this DataObject contains a value for Text.
| |
| ContainsUris |
Gets a value indicating whether this DataObject contains a value for Uris.
| |
| Html |
Gets or sets html text in the data object.
| |
| Image |
Gets or sets an image in the data object.
| |
| Text |
Gets or sets the plain text in the data object.
| |
| Types |
Gets the types of data in the data object to be used with GetString(String) and GetData(String) | |
| Uris |
Gets or sets the Uri's of the files in the data object
|
| Name | Description | |
|---|---|---|
| Clear |
Clears the data object
| |
| Contains |
Gets a value indicating that data with the specified type is contained in the data object.
| |
| GetData |
Gets a byte array from the data object with the specified type identifier.
| |
| GetDataStream |
Gets the data stream with the specified type identifier.
| |
| GetObject(String) |
Gets a serialized value with the specified type identifier.
| |
| GetObjectT(String) |
Gets an object from the data object with the specified type
| |
| GetString |
Gets a string from the data object with the specified type identifier.
| |
| SetData |
Sets a data array for the specified type identifier.
| |
| SetDataStream |
Sets a data stream into the clipboard with the specified type identifier.
| |
| SetObject |
Sets the value into the data object with the specified type using serialization or type converter
| |
| SetString |
Sets a string into the data object with the specified custom type.
|