Class
ScheduleViewDragDropPayload

A class that represents the information for the appointments during the drag operation.

Definition

Namespace:Telerik.Windows.Controls.ScheduleView

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

cs-api-definition
public class ScheduleViewDragDropPayload : Payload, IDataObject, IPayload

Inheritance: objectPayloadScheduleViewDragDropPayload

Implements: IDataObjectIPayload

Inherited Members Payload.DataObjectProvider

Constructors

ScheduleViewDragDropPayload(IEnumerable, IEnumerable<IOccurrence>)

Initializes a new instance of the ScheduleViewDragDropPayload class.

Declaration

cs-api-definition
public ScheduleViewDragDropPayload(IEnumerable sourceAppointmentsSource, IEnumerable<IOccurrence> draggedAppointments)

Parameters

sourceAppointmentsSource

IEnumerable

The appointments of RadScheduleView.

draggedAppointments

IEnumerable<IOccurrence>

The dragged appointments.

ScheduleViewDragDropPayload(IEnumerable, IEnumerable<IOccurrence>, IOccurrence)

Initializes a new instance of the ScheduleViewDragDropPayload class.

Declaration

cs-api-definition
public ScheduleViewDragDropPayload(IEnumerable sourceAppointmentsSource, IEnumerable<IOccurrence> draggedAppointments, IOccurrence draggedAppointment)

Parameters

sourceAppointmentsSource

IEnumerable

The appointments of RadScheduleView.

draggedAppointments

IEnumerable<IOccurrence>

The dragged appointments.

draggedAppointment

IOccurrence

The dragged appointment that is used to calculate the position of the drag cues of all dragged appointments.

Fields

PayloadFormat

A format representing this object.

Declaration

cs-api-definition
public static readonly string PayloadFormat

Field Value

string

Properties

DraggedAppointment

Gets the dragged appointment that is used to calculate the position of the drag cues of all dragged appointments..

Declaration

cs-api-definition
public IOccurrence DraggedAppointment { get; }

Property Value

IOccurrence

DraggedAppointments

Gets the dragged appointments.

Declaration

cs-api-definition
public IEnumerable<IOccurrence> DraggedAppointments { get; }

Property Value

IEnumerable<IOccurrence>

SourceAppointmentsSource

Gets or sets the source appointments source.

Declaration

cs-api-definition
public IEnumerable SourceAppointmentsSource { get; }

Property Value

IEnumerable

The source appointments source.

Methods

GetData(string, bool)

Gets the data for the specific format.

Declaration

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

Parameters

format

string

autoConvert

bool

Returns

object

Overrides Payload.GetData(string, bool)

GetDataPresent(string, bool)

Check whether a data for the specific format is present.

Declaration

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

Parameters

format

string

autoConvert

bool

Returns

bool

Overrides Payload.GetDataPresent(string, bool)

GetFormats()

Gets the formats supported by ScheduleViewDragDropPayload.

Declaration

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

Returns

string[]

Overrides Payload.GetFormats()