Skip to main content

TcxSchedulerTimeGridView.OnCustomDrawMajorUnit Event

Occurs every time the major time scale unit is about to be drawn.

Declaration

property OnCustomDrawMajorUnit: TcxSchedulerCustomDrawMajorUnitEvent read; write;

Remarks

Handle the OnCustomDrawMajorUnit event to custom draw the major time scale.

The Sender parameter specifies the TimeGrid View.

The ACanvas parameter specifies the drawing surface.

The AViewInfo parameter returns ViewInfo information for rendering the major time scale.

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

See Also