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

Provides basic functionality for RadScheduleView drag and drop payloads.

Definition

Namespace:Telerik.Windows.Controls.ScheduleView

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public abstract class PartialTrustPayload : IPayload

Inheritance: objectPartialTrustPayload

Derived Classes: ScheduleViewXbapDragDropPayload

Implements: IPayload

Constructors

C#
protected PartialTrustPayload()

Properties

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

C#
public IDataObjectProvider DataObjectProvider { get; set; }

Methods

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

C#
public abstract 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#
public abstract 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#
public abstract string[] GetFormats()
Returns:

string[]

The supported types.