TcxCustomButton.PaintStyle Property
Specifies the active button content display mode.
Declaration
property PaintStyle: TcxButtonPaintStyle read; write; default bpsDefault;
Property Value
| Type | Default | Description |
|---|---|---|
| TcxButtonPaintStyle | bpsDefault | The active button content display mode. |
Remarks
Use the PaintStyle property to switch between button content display modes.
Available Options
- bpsDefault
Default Mode. The button can display both the caption and the glyph (specified using OptionsImage.Glyph or OptionsImage.ImageIndex/OptionsImage.Images).

- bpsCaption
Caption Mode. The button can display only the Caption property value.

- bpsGlyph
Glyph Mode. The button can display only the glyph (specified using OptionsImage.Glyph or OptionsImage.ImageIndex/OptionsImage.Images).

Default Value
The PaintStyle property’s default value is bpsDefault.
See Also