Skip to main content

TcxSchedulerDayView.OnCustomDrawTimeRuler Event

Occurs every time a time ruler is about to be drawn.

Declaration

property OnCustomDrawTimeRuler: TcxSchedulerCustomDrawTimeRulerEvent read; write;

Remarks

Handle the OnCustomDrawTimeRuler event to custom draw time rulers.

The Sender parameter specifies the Day View.

The ACanvas parameter specifies the drawing surface.

The AViewInfo parameter returns ViewInfo information required to render the processed time ruler.

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

Note

A time ruler is divided into cells in the one hour scale.

See Also