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

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:

C#
public class ScheduleViewXbapDragDropPayload : PartialTrustPayload, IPayload

Inheritance: objectPartialTrustPayloadScheduleViewXbapDragDropPayload

Implements: IPayload

Inherited Members PartialTrustPayload.DataObjectProvider

Constructors

Initializes a new instance of the ScheduleViewXbapDragDropPayload class.

C#
public ScheduleViewXbapDragDropPayload(IEnumerable sourceAppointmentsSource, IEnumerable<IOccurrence> draggedAppointments, IOccurrence draggedAppointment)
Parameters:sourceAppointmentsSourceIEnumerable

The appointments of RadScheduleView.

draggedAppointmentsIEnumerable<IOccurrence>

The dragged appointments.

draggedAppointmentIOccurrence

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

Initializes a new instance of the ScheduleViewXbapDragDropPayload class.

C#
public ScheduleViewXbapDragDropPayload(IEnumerable sourceAppointmentsSource, IEnumerable<IOccurrence> draggedAppointments)
Parameters:sourceAppointmentsSourceIEnumerable

The appointments of RadScheduleView.

draggedAppointmentsIEnumerable<IOccurrence>

The dragged appointments.

Fields

A format representing this object.

C#
public static readonly string PayloadFormat

Properties

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

C#
public IOccurrence DraggedAppointment { get; }

Gets the dragged appointments.

C#
public IEnumerable<IOccurrence> DraggedAppointments { get; }

Gets or sets the source appointments source.

C#
public IEnumerable SourceAppointmentsSource { get; }
Property Value:

The source appointments source.

Methods

Gets the data for the specific format.

C#
public override object GetData(string format, bool autoConvert)
Parameters:formatstringautoConvertboolReturns:

object

Overrides: PartialTrustPayload.GetData(string, bool)

Check whether a data for the specific format is present.

C#
public override bool GetDataPresent(string format, bool autoConvert)
Parameters:formatstringautoConvertboolReturns:

bool

Overrides: PartialTrustPayload.GetDataPresent(string, bool)

Gets the formats supported by ScheduleViewDragDropPayload.

C#
public override string[] GetFormats()
Returns:

string[]

Overrides: PartialTrustPayload.GetFormats()