Class
ScheduleViewXbapDragDropPayload

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 ScheduleViewXbapDragDropPayload : PartialTrustPayload, IPayload

Inheritance: objectPartialTrustPayloadScheduleViewXbapDragDropPayload

Implements: IPayload

Inherited Members PartialTrustPayload.DataObjectProvider

Constructors

ScheduleViewXbapDragDropPayload(IEnumerable, IEnumerable<IOccurrence>)

Initializes a new instance of the ScheduleViewXbapDragDropPayload class.

Declaration

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

Parameters

sourceAppointmentsSource

IEnumerable

The appointments of RadScheduleView.

draggedAppointments

IEnumerable<IOccurrence>

The dragged appointments.

ScheduleViewXbapDragDropPayload(IEnumerable, IEnumerable<IOccurrence>, IOccurrence)

Initializes a new instance of the ScheduleViewXbapDragDropPayload class.

Declaration

cs-api-definition
public ScheduleViewXbapDragDropPayload(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 PartialTrustPayload.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 PartialTrustPayload.GetDataPresent(string, bool)

GetFormats()

Gets the formats supported by ScheduleViewDragDropPayload.

Declaration

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

Returns

string[]

Overrides PartialTrustPayload.GetFormats()