Skip to main content

TdxBreadcrumbEditButton Class

A button displayed in a breadcrumb editor.

Declaration

TdxBreadcrumbEditButton = class(
    TcxCustomEditButton
)

Remarks

A breadcrumb editor button is a button within the breadcrumb editor client area, at the right or left editor border depending on the breadcrumb editor’s BiDiMode property value. An editor button implements built-in or custom breadcrumb editor functionality. A breadcrumb editor maintains a collection of buttons accessible through the Properties.Buttons property.

VCL Editors Library: A Breadcrumb Editor Button

To execute custom code in response to a click on a breadcrumb editor button, you can associate the button with an action object (a TBasicAction descendant instance) or handle the parent breadcrumb editor’s OnButtonClick event.

Main API Members

The list below outlines key members of the TdxBreadcrumbEditButton class that allow you to configure breadcrumb editor buttons.

Action
Allows you to associate the breadcrumb editor button with an action object. A click on the button executes the associated action.
Enabled
Specifies if the breadcrumb editor button is enabled. If a user clicks the button when it is enabled, the parent editor raises the OnButtonClick event.
Hint
Specifies a hint for the breadcrumb editor button.
Glyph | ImageIndex
Specify a custom glyph for the breadcrumb editor button.
Visible
Hides or displays the breadcrumb editor button.
Width
Allows you to explicitly specify the width of the breadcrumb editor button.

Direct TdxBreadcrumbEditButton Class Reference

The TdxBreadcrumbEditButtons.Items property references a TdxBreadcrumbEditButton object.

Inheritance

See Also