SchedulerControl.AppointmentDrop Event
In This Article
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 |
---|---|
Accepted |
Specifies the operations the user is allowed to perform.
Inherited from Appointment |
Cancel |
Specifies whether to cancel the drag-drop operation.
Inherited from Appointment |
Dragging |
Returns the collection of appointments the user is dragging.
Inherited from Appointment |
Drag |
Returns the visual representation of appointments the user is dragging.
Inherited from Appointment |
Handled |
Inherited from Scheduler |
Source |
Returns the collection of appointments before the changes the user attempts to apply.
Inherited from Appointment |
#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