Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomScheduler.OnBeforeDragEvent Event

In This Article

Fires before an end-user starts dragging the user event in the scheduling area.

#Declaration

Delphi
property OnBeforeDragEvent: TcxSchedulerBeforeDragEvent read; write;

#Remarks

Implement the OnBeforeDragEvent event handler to provide pre-processing before an end-user starts dragging the user event in the scheduling area.

The Sender parameter specifies the scheduler control.

The AEvent parameter specifies the user event to be dragged.

The X and Y parameters specify the relative screen coordinates of the mouse pointer.

The Allow parameter specifies whether dragging changes are applied. Set the Allow parameter to False value to cancel changes.

See Also