Skip to main content

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).

VCL Editors: A DevExpress Button in Default Mode

bpsCaption

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

VCL Editors: A DevExpress Button in Caption Mode

bpsGlyph

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

VCL Editors: A DevExpress Button in Glyph Mode

Default Value

The PaintStyle property’s default value is bpsDefault.

See Also