Skip to main content

TcxCustomEditButton.Mode Property

Specifies the button usage scenario.

Declaration

property Mode: TcxEditButtonMode read; write; default TcxEditButtonMode.Button;

Property Value

Type Default Description
TcxEditButtonMode Button

The current button usage scenario.

Remarks

An editor button implements built-in or custom editor functionality. A click on the editor button executes an associated action and raises the parent editor’s Properties.OnButtonClick event.

You can set the Mode property to TcxEditButtonMode.Glyph to make an enabled editor button non-interactive. The button is always in the normal state in this mode and raises no events in response to clicks. For example, the glyph mode can be useful when you need to display status glyphs within the editor client area.

Default Value

The Mode property’s default value is TcxEditButtonMode.Button.

See Also