Skip to main content

TcxSchedulerDayView.OnCustomDrawContainer Event

Occurs before the all-day event area located on the top of each day is drawn.

Declaration

property OnCustomDrawContainer: TcxSchedulerCustomDrawContainerEvent read; write;

Remarks

Implement the OnCustomDrawContainer event handler to custom paint the all-day event area.

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 all-day event area.

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

See Also