SchedulerControl.AppointmentDrag Event
In This Article
Occurs when an appointment is dragged above the SchedulerControl.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
#Declaration
#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. |
Edited |
Gets the appointment being edited in the drag-and-drop event. |
Force |
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. |
Hit |
Gets the time interval represented by the time cell to which an appointment was dragged. |
Hit |
Gets the resource to which an appointment was dragged. |
New |
Gets or sets the IDs of resources for a new appointment. |
Source |
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