Skip to main content
A newer version of this page is available. .

TdxBarPainter Class

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

Declaration

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