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

TdxSchedulerSnapEventsToTimeSlots Class

An action object that corresponds to the SnapEventsToTimeSlots command provided by the Scheduler control.

#Declaration

Delphi
TdxSchedulerSnapEventsToTimeSlots = class(
    TdxSchedulerAction
)

#Remarks

This class does not introduce any new public members. Executing a TdxSchedulerSnapEventsToTimeSlots action object visually snaps user events to the currently used time blocks in the TimeGrid View. If events are already snapped, this action restores their actual lengths:

VCL Scheduler: Snap Events to Time Slots

UI elements linked to a TdxSchedulerSnapEventsToTimeSlots action object are enabled only if the following conditions are met:

  • The Scheduler control has an assigned persistent manager component (i.e., the control’s Storage property value is not set to nil (in Delphi) or nullptr (in C++Builder)).
  • The Scheduler control’s CurrentView is the TimeGrid View.
See Also