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

TcxCustomButton.PaintStyle Property

Specifies the manner in which caption and glyph are displayed within the button.

#Declaration

Delphi
property PaintStyle: TcxButtonPaintStyle read; write; default bpsDefault;

#Property Value

Type Default
TcxButtonPaintStyle bpsDefault

#Remarks

Values include:

Value Description Example
bpsDefault Both the caption and glyph are displayed, if assigned.
bpsCaption Only the caption is displayed, if assigned.
bpsGlyph Only the glyph is displayed, if assigned.

Note

You can handle the OnCustomDraw event to custom paint the button.

The default value of the PaintStyle property is bpsDefault.

See Also