Skip to main content
A newer version of this page is available. .

TcxEditButtonKind Enum

Represents button type.

Declaration

TcxEditButtonKind = (
    bkEllipsis,
    bkDown,
    bkGlyph,
    bkText
);

Members

Name
bkEllipsis
bkDown
bkGlyph
bkText

Remarks

The TcxEditButtonKind type enumerates the button types controlling the image displayed on a button’s surface. Use the TcxEditButton.Kind property to specify the button type.

The images in the following table demonstrate the TcxButtonEdit control with the Kind property set to the corresponding value. The first editor is drawn with the default style. The second one is drawn with the Windows® native style enabled (the Style.LookAndFeel.NativeStyle property is set to True).

Value

Meaning

bkEllipsis

An Ellipsis symbol is drawn on a button’s surface.

bkDown

A Down-arrow is drawn on a button’s surface.

bkGlyph

A custom bitmap is drawn on a button’s surface. The bitmap is provided by the TcxEditButton.Glyph property.

bkText

A custom text is drawn on a button’s surface. The text is provided by the TcxEditButton.Caption property. Use the TcxEditButton.ContentAlignment property to align the text within the button.

See Also