Class PartialTrustPayload
Provides basic functionality for RadScheduleView drag and drop payloads.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.ScheduleView
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public abstract class PartialTrustPayload : IPayload
Constructors
PartialTrustPayload()
Declaration
protected PartialTrustPayload()
Properties
DataObjectProvider
Gets or sets the data object provider which extracts the data using the given data format.
Declaration
public IDataObjectProvider DataObjectProvider { get; set; }
Property Value
IDataObjectProvider
|
Methods
GetData(String, Boolean)
Extracts the data from the current payload in drag and drop operations.
Declaration
public abstract 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
public abstract 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
public abstract string[] GetFormats()
Returns
System.String[]
The supported types. |
Explicit Interface Implementations
IPayload.GetData(String, Boolean)
Declaration
object IPayload.GetData(string format, bool autoConvert)
Parameters
System.String
format
|
System.Boolean
autoConvert
|
Returns
System.Object
|
Implements
IPayload.GetDataPresent(String, Boolean)
Declaration
bool IPayload.GetDataPresent(string format, bool autoConvert)
Parameters
System.String
format
|
System.Boolean
autoConvert
|
Returns
System.Boolean
|