Interface
IPayload

Provides interface for RadScheduleView drag and drop payloads.

Definition

Namespace:Telerik.Windows.Controls.ScheduleView

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

cs-api-definition
public interface IPayload

Methods

GetData(string, bool)

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

Declaration

cs-api-definition
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
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
string[] GetFormats()

Returns

string[]

The supported types.