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

TcxScheduler.OnCustomDrawBackground Event

In This Article

Occurs before the scheduling area‘s background is drawn.

#Declaration

Delphi
property OnCustomDrawBackground: TcxSchedulerCustomDrawBackgroundEvent read; write;

#Remarks

Implement the OnCustomDrawBackground event handler to custom paint the scheduling area’s background.

The Sender parameter specifies the time View currently active in the scheduling area.

The ACanvas parameter specifies the drawing surface.

The AViewInfo parameter returns ViewInfo information required to render the scheduler area background.

The ADone parameter specifies if built-in draw routines are executed. Set ADone to True to prevent default painting.

Note

the scheduling area’s background is only visible under the Day View when the View occupies a part of the scheduling area along the y-axis (the vertical scrollbar in the scheduling area disappears).

See Also