Skip to main content

TcxCustomButton.PaintStyle Property

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

Declaration

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