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

TdxNavBarCustomBackgroundPainter Class

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

#Declaration

Delphi
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