Back to Devexpress

TdxSchedulerSnapEventsToTimeSlots Class

vcl-cxscheduleractions-7e952241.md

latest2.6 KB
Original Source

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:

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.

Inheritance

Show 11 items

TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TdxBasicAction TdxCustomAction TdxSchedulerAction TdxSchedulerSnapEventsToTimeSlots

See Also

TdxSchedulerSnapEventsToTimeSlots Members

cxSchedulerActions Unit