Skip to main content

TcxCustomScheduler.OnIsWorkTime Event

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

Declaration

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