Back to Devexpress

TcxCustomButton.PaintStyle Property

vcl-cxbuttons-dot-tcxcustombutton-c5b95bae.md

latest2.2 KB
Original Source

TcxCustomButton.PaintStyle Property

Specifies the active button content display mode.

Declaration

delphi
property PaintStyle: TcxButtonPaintStyle read; write; default bpsDefault;

Property Value

TypeDefaultDescription
TcxButtonPaintStylebpsDefault

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

TcxCustomButton.OptionsImage Property

TcxCustomButton.Kind Property

TcxCustomButton Class

TcxCustomButton Members

cxButtons Unit