vcl-cxbuttons-dot-tcxcustombutton-c5b95bae.md
Specifies the active button content display mode.
property PaintStyle: TcxButtonPaintStyle read; write; default bpsDefault;
| Type | Default | Description |
|---|---|---|
| TcxButtonPaintStyle | bpsDefault |
The active button content display mode.
|
Use the PaintStyle property to switch between button content display modes.
Default Mode. The button can display both the caption and the glyph (specified using OptionsImage.Glyph or OptionsImage.ImageIndex/OptionsImage.Images).
Caption Mode. The button can display only the Caption property value.
Glyph Mode. The button can display only the glyph (specified using OptionsImage.Glyph or OptionsImage.ImageIndex/OptionsImage.Images).
The PaintStyle property’s default value is bpsDefault.
See Also