Skip to main content

SchedulerControl.AppointmentDrop Event

Occurs when the user drops appointments within a Scheduler’s view.

Namespace: DevExpress.WinUI.Scheduler

Assembly: DevExpress.WinUI.Scheduler.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

public event EventHandler<AppointmentDropEventArgs> AppointmentDrop

Event Data

The AppointmentDrop event's data class is AppointmentDropEventArgs. The following properties provide information specific to this event:

Property Description
AcceptedOperation Specifies the operations the user is allowed to perform. Inherited from AppointmentDragEventArgsBase.
Cancel Specifies whether to cancel the drag-drop operation. Inherited from AppointmentDragEventArgsBase.
DraggingAppointments Returns the collection of appointments the user is dragging. Inherited from AppointmentDragDropEventArgsBase.
DragUIOverride Returns the visual representation of appointments the user is dragging. Inherited from AppointmentDragEventArgsBase.
Handled Inherited from SchedulerDragEventArgsBase.
SourceAppointments Returns the collection of appointments before the changes the user attempts to apply. Inherited from AppointmentDragDropEventArgsBase.

Remarks

Set the Cancel event property to true to restore the initial placement of appointments. The AppointmentDropCompleted event’s DropResult property returns None.

See Also