Skip to main content

TcxScheduler.OnCustomDrawResourceHeader Event

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

Declaration

property OnCustomDrawResourceHeader: TcxSchedulerCustomDrawResourceHeaderEvent read; write;

Remarks

Implement the OnCustomDrawResourceHeader event handler to custom paint the resource’s header.

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 processed resource header.

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

See Also