TcxCustomButton.PaintStyle Property
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


