Skip to main content

TdxNavBarCustomBackgroundPainter Class

Serves as the base for painter classes used to draw the NavBar control’s background.

Declaration

TdxNavBarCustomBackgroundPainter = class(
    TObject
)

Remarks

This class provides the DrawBackground method, which calls the virtual InternalDrawBackground method. TdxNavBarCustomBackgroundPainter descendants override the InternalDrawBackground method to custom paint the background.

TdxNavBarCustomBackgroundPainter descendants include:

Descendant Comment
TdxNavBarXPBackgroundPainter Used by the XP2View.
TdxNavBarXPExplorerBarBackgroundPainter Used by the XPExplorerBarView.

Note

If the native paint style is applied to these Views, TdxNavBarXPBackgroundPainter and TdxNavBarXPExplorerBarBackgroundPainter render the control background based on the current theme. Otherwise, the currently applied style settings are used.

Inheritance

TObject
TdxNavBarCustomBackgroundPainter
See Also