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

TdxBarPainter Class

A painter class for toolbar controls, submenu controls, and item controls.

#Declaration

Delphi
TdxBarPainter = class(
    TcxIUnknownObject
)

#Remarks

TdxBarPainter is a library of drawing primitives used by toolbar controls, submenu controls and item controls to render themselves on a graphic surface. This class is an ancestor of the TdxBarStandardPainter, TdxBarFlatPainter, TdxBarEnhancedPainter, TdxBarOffice11Painter, TdxBarXPPainter, and TdxBarSkinnedPainter classes that implement drawing primitives using the Standard, Ultra Flat, Flat, Office 2003, Windows XP look & feel, and skins, respectively.

Use the bar manager’s PainterClass property to access the class used by this bar manager for painting toolbars and their items.

The class used by a toolbar control or an item control can be accessed individually via the PainterClass property of the corresponding control.

#Inheritance

See Also