Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxEditButtonMode Enum

Enumerates usage scenarios for editor buttons.

#Declaration

Delphi
TcxEditButtonMode = (
    Button,
    Glyph
);

#Members

Name Description
Button

Default. An editor button implements built-in or custom editor functionality in this mode.

A click on the editor button executes an associated action and raises the parent editor’s Properties.OnButtonClick event.

Glyph

An editor button is non-interactive and has no pressed state in this mode.

This mode can be useful if you need to display indicators or status glyphs within the editor client area.

#Remarks

Different usage scenarios allow you to use embedded editor buttons as interactive buttons (default) ot status indicators.

Note

TcxEditButtonMode is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TcxEditButtonMode.Glyph (in Delphi) or TcxEditButtonMode::Glyph (in C++Builder) to refer to the Glyph value in code.

#Direct TcxEditButtonMode Type Reference

The TcxCustomEditButton.Mode property references the TcxEditButtonMode type.

See Also