Skip to main content

TdxNavBarCustomDrawEvents.Background Event

Allows you to custom paint the NavBar control’s background.

Declaration

property Background: TdxNavBarCustomDrawEvent read; write;

Remarks

The Sender parameter specifies the sender of the event. The sender of the event is the NavBar control.

The ACanvas parameter specifies an object of the TCanvas type which provides a NavBar control’s background drawing surface.

The AViewInfo parameter specifies an object of the TdxNavBarViewInfo type that stores ViewInfo information of the NavBar control. To get the bounding rectangle of the control’s background, you can use the ClientRect property.

The AHandled parameter specifies whether further background painting is needed. Set the parameter to True to avoid default background painting; set it to False to enable the default painting routines.

See Also