Skip to main content

TcxScheduler.OnCustomDrawDayHeader Event

Occurs every time a day header is about to be drawn in the scheduler area.

Declaration

property OnCustomDrawDayHeader: TcxSchedulerCustomDrawDayHeaderEvent read; write;

Remarks

Implement the OnCustomDrawDayHeader event handler to custom paint the day’s header.

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

The ACanvas parameter specifies the drawing surface.

The AViewInfo parameter returns ViewInfo information required to render the processed day header.

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

See Also