Back to Devexpress

TcxButtonPaintStyle Enum

vcl-cxbuttons-571e8556.md

latest1.5 KB
Original Source

TcxButtonPaintStyle Enum

Enumerates button content display modes.

Declaration

delphi
TcxButtonPaintStyle = (
    bpsDefault,
    bpsCaption,
    bpsGlyph
);

Members

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

|

Remarks

The TcxButton component can display a caption and/or a glyph.

Direct TcxButtonPaintStyle Type Reference

The TcxCustomButton.PaintStyle property references the TcxButtonPaintStyle type.

See Also

TcxButtonKind Type

cxButtons Unit