Interface IPayload
Provides interface for RadScheduleView drag and drop payloads.
Namespace: Telerik.Windows.Controls.ScheduleView
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public interface IPayload
Methods
GetData(String, Boolean)
Extracts the data from the current payload in drag and drop operations.
Declaration
object GetData(string format, bool autoConvert)
Parameters
System.String
format
The type of the data. |
System.Boolean
autoConvert
Can auto convert the data or not. |
Returns
System.Object
The extracted data. |
GetDataPresent(String, Boolean)
Check whether a data for the specific format is present.
Declaration
bool GetDataPresent(string format, bool autoConvert)
Parameters
System.String
format
The data type. |
System.Boolean
autoConvert
Can auto convert the data or not. |
Returns
System.Boolean
Whether the data is present or not. |
GetFormats()
Gets all supported types for the payload.
Declaration
string[] GetFormats()
Returns
System.String[]
The supported types. |