TcxScheduler.OnCustomDrawButton Event
Occurs every time More Events button is about to be drawn.
Declaration
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.