New to Telerik UI for WPFStart a free 30-day trial

IPayload

Interface

Provides interface for RadScheduleView drag and drop payloads.

Definition

Namespace:Telerik.Windows.Controls.ScheduleView

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public interface IPayload

Derived Classes: PartialTrustPayloadPayloadScheduleViewDragDropPayloadScheduleViewXbapDragDropPayload

Methods

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

C#
object GetData(string format, bool autoConvert)
Parameters:formatstring

The type of the data.

autoConvertbool

Can auto convert the data or not.

Returns:

object

The extracted data.

Check whether a data for the specific format is present.

C#
bool GetDataPresent(string format, bool autoConvert)
Parameters:formatstring

The data type.

autoConvertbool

Can auto convert the data or not.

Returns:

bool

Whether the data is present or not.

Gets all supported types for the payload.

C#
string[] GetFormats()
Returns:

string[]

The supported types.