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.OnIsWorkTime Event

In This Article

Fires before the time block is drawn in the scheduling area.

#Declaration

Delphi
property OnIsWorkTime: TcxSchedulerIsWorkTimeEvent read; write;

#Remarks

Implement the OnIsWorkTime event handler to customize the work time shown in the scheduling area.

The Sender parameter specifies the scheduler control.

The AResource parameter specifies the resource if the time View’s GroupingKind property is set to gkByResource or gkByDate and more than one resource is defined.

The ATime parameter specifies the time corresponding to the time block in the scheduling area.

The AIsWork parameter specifies whether the ATime time is work time. Set the AIsWork parameter to True to paint the time block as the work time.

See Also