Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxScheduler.OnCustomDrawButton Event

In This Article

Occurs every time More Events button is about to be drawn.

#Declaration

Delphi
property OnCustomDrawButton: TcxSchedulerCustomDrawButtonEvent read; write;

#Remarks

When using the Day View the More Events button is displayed if there are user events outside of the current boundaries of the scheduling area. Under the Week, Weeks or Year View the More Events button is displayed if there are user events that are outside of the current boundaries of the day’s cell. A click on this button activates the Day View and scrolls its content to display these events.

Implement the OnCustomDrawButton event handler to custom draw the More Events button.

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 More Events button.

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

See Also