TcxSchedulerDateNavigator.OnCustomDrawDayNumber Event
Occurs before a day in the Date Navigator is drawn.
#Declaration
property OnCustomDrawDayNumber: TcxSchedulerDateNavigatorCustomDrawDayNumberEvent read; write;
#Remarks
Handle the OnCustomDrawDayNumber
event handler to custom paint the dates in the Date Navigator.
The Sender
parameter specifies the Date Navigator component.
The ACanvas
parameter specifies the drawing surface.
The AViewInfo
parameter returns ViewInfo information required to render the processed date cell.
The ADone
parameter specifies if built-in draw routines are executed. Set ADone
to True
to prevent default painting.
Note
if the Transparent
property of the proprietary AView
object is set to True
within an OnOn
event handlers will do transparent painting, if implemented. So, there is no need to set the Transparent
property of the appropriate AView
objects to True
respectively within OnOn
event handlers. In any case, if you need to completely repaint shapes specified for OnOn
, set the Transparent
property of the appropriate AView
objects to False
within these event handlers.