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

TcxSchedulerDateNavigator.OnCustomDrawBackground Event

In This Article

Fires before the Date Navigator‘s background is drawn.

#Declaration

Delphi
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