InterfaceIDataObject
Provides a format-independent mechanism for transferring data.
Definition
Namespace:Telerik.UI.Xaml.Controls.DragDrop
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public interface IDataObject
Derived Classes:
Methods
GetData(Type)
Retrieves the data associated with the specified class type format.
GetData(string)
Retrieves the data associated with the specified data format.
GetData(string, bool)
Retrieves the data associated with the specified data format, using autoConvert to determine whether to convert the data to the format.
GetDataPresent(Type)
Determines whether data stored in this instance is associated with, or can be converted to, the specified format.
GetDataPresent(string)
Determines whether data stored in this instance is associated with, or can be converted to, the specified format.
GetDataPresent(string, bool)
Determines whether data stored in this instance is associated with the specified format, using autoConvert to determine whether to convert the data to the format.
GetFormats()
Gets a list of all formats that data stored in this instance is associated with or can be converted to.
GetFormats(bool)
Gets a list of all formats that data stored in this instance is associated with or can be converted to, using autoConvert to determine whether to retrieve all formats that the data can be converted to or only native data formats.
SetData(Type, object)
Stores the specified data and its associated class type in this instance.
SetData(object)
Stores the specified data in this instance, using the class of the data for the format.
Declaration
[SecurityCritical]
void SetData(object data)
Parameters
data
The data to store.
SetData(string, object)
Stores the specified data and its associated format in this instance.
SetData(string, object, bool)
Stores the specified data and its associated format in this instance, using autoConvert to specify whether the data can be converted to another format.