SchedulerControl.AppointmentDragStarting Event

Occurs when the user starts dragging the selected appointment(s).

Namespace: DevExpress.WinUI.Scheduler

Assembly: DevExpress.WinUI.Scheduler.v21.1.dll

Declaration

public event EventHandler<AppointmentDragStartingEventArgs> AppointmentDragStarting

Event Data

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

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

Remarks

The AppointmentDragStarting event raises the SerializeAppointments event. Handle the SerializeAppointments event to create a Windows.ApplicationModel.DataTransfer.DataPackage object that contains appointment data. See the DataPackage topic in MSDN for more information.

See Also