Click or drag to resize

IDataObject Interface

Interface to allow you to share common code with Clipboard and DataObject.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public interface IDataObject

The IDataObject type exposes the following members.

Properties
  NameDescription
Public propertyContainsHtml
Gets a value indicating whether this IDataObject contains a value for Html.
Public propertyContainsImage
Gets a value indicating whether this IDataObject contains a value for Image.
Public propertyContainsText
Gets a value indicating whether this IDataObject contains a value for Text.
Public propertyContainsUris
Gets a value indicating whether this IDataObject contains a value for Uris.
Public propertyHtml
Gets or sets html text in the data object.
Public propertyImage
Gets or sets an image in the data object.
Public propertyText
Gets or sets the plain text in the data object.
Public propertyTypes
Gets the type id's for each type of data in the data object.
Public propertyUris
Gets or sets the Uri's of the files in the data object.
Top
Methods
  NameDescription
Public methodClear
Clears the data object completely of all values
Public methodContains
Gets a value indicating that data with the specified type is contained in the data object.
Public methodGetData
Gets a data array from the data object with the specified type identifier.
Public methodGetObjectT
Gets an object from the data object with the specified type
Public methodGetString
Gets a string from the data object with the specified type identifier.
Public methodSetData
sets a data array into the data object with the specified type identifier.
Public methodSetObject
Sets the value into the data object with the specified type using serialization or type converter
Public methodSetString
Sets a string into the data object with the specified type identifier.
Top
See Also