Class
PartialTrustPayload

Provides basic functionality for RadScheduleView drag and drop payloads.

Definition

Namespace:Telerik.Windows.Controls.ScheduleView

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

cs-api-definition
public abstract class PartialTrustPayload : IPayload

Inheritance: objectPartialTrustPayload

Derived Classes: ScheduleViewXbapDragDropPayload

Implements: IPayload

Constructors

PartialTrustPayload()

Declaration

cs-api-definition
protected PartialTrustPayload()

Properties

DataObjectProvider

Gets or sets the data object provider which extracts the data using the given data format.

Declaration

cs-api-definition
public IDataObjectProvider DataObjectProvider { get; set; }

Property Value

IDataObjectProvider

Methods

GetData(string, bool)

Extracts the data from the current payload in drag and drop operations.

Declaration

cs-api-definition
public abstract object GetData(string format, bool autoConvert)

Parameters

format

string

The type of the data.

autoConvert

bool

Can auto convert the data or not.

Returns

object

The extracted data.

GetDataPresent(string, bool)

Check whether a data for the specific format is present.

Declaration

cs-api-definition
public abstract bool GetDataPresent(string format, bool autoConvert)

Parameters

format

string

The data type.

autoConvert

bool

Can auto convert the data or not.

Returns

bool

Whether the data is present or not.

GetFormats()

Gets all supported types for the payload.

Declaration

cs-api-definition
public abstract string[] GetFormats()

Returns

string[]

The supported types.