Skip to main content

SchedulerControl.AppointmentDrag Event

Occurs when an appointment is dragged above the SchedulerControl.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v14.2.dll

#Declaration

public event AppointmentDragEventHandler AppointmentDrag

#Event Data

The AppointmentDrag event's handler receives an argument of the AppointmentDragEventArgs type. The following properties provide information specific to this event:

Property Description
Allow Specifies whether the appointment can be dragged along the time cells.
EditedAppointment Gets the appointment being edited in the drag-and-drop event.
ForceUpdateFromStorage Gets or sets whether the View is forced to query appointments from the storage.
Handled Gets or sets whether the drag-and-drop operation is handled, and therefore no default processing is required.
HitInterval Gets the time interval represented by the time cell to which an appointment was dragged.
HitResource Gets the resource to which an appointment was dragged.
NewAppointmentResourceIds Gets or sets the IDs of resources for a new appointment.
SourceAppointment Gets the source appointment in the drag-and-drop event.

#Remarks

Use the AppointmentDrag event to manage, with the drag-and-drop action, appointments within the scheduler. This event can be denied, canceled or handled specifically, using the information provided by the event argument.

See Also