Skip to main content

TcxSchedulerDateNavigator.OnCustomDrawBackground Event

Fires before the Date Navigator‘s background is drawn.

Declaration

property OnCustomDrawBackground: TcxSchedulerDateNavigatorCustomDrawBackgroundEvent read; write;

Remarks

Implement the OnCustomDrawBackground event handler to custom paint the Date Navigator‘s background.

The Sender parameter specifies the Date Navigator component;

The ACanvas parameter specifies the drawing surface;

The ABounds parameter specifies the component’s bounding rectangle;

The AViewParams parameter specifies the component’s style attributes;

The ADone parameter specifies whether default painting is required. Set ADone to True to prevent default painting being performed.

See the example in the Custom Drawing topic.

Note

the Date Navigator‘s background is visible if the TcxSchedulerOptionsCustomize.IntegralSizing property is set to False.

See Also