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

TdxCustomBarEdit Class

The base class for toolbar edit items.

#Declaration

Delphi
TdxCustomBarEdit = class(
    TdxBarWindowItem
)

#Remarks

The TdxCustomBarEdit class implements a toolbar item container that allows you to use an editor from the ExpressEditors Library in the same manner as in other container controls, such as VCL Data Grid, Tree List, Vertical Grid, etc.

#Main API Members

The list below outlines key members of the TdxCustomBarEdit class. These members allow you to configure toolbar edit items.

#Appearance Settings

Caption
Specifies the toolbar item’s caption.
Glyph | ImageIndex
Allow you to assign a glyph to the editor when it is displayed in a standard-sized toolbar item.
LargeGlyph | LargeImageIndex

Allow you to assign a different glyph to the editor when it is displayed in a large button or menu item.

Tip

You can use the vector image assigned through the Glyph or ImageIndex property as a glyph for both toolbar item sizes if the BarManager.ImageOptions.SVGOptions.UseRegularAsLarge property is set to True (default).

ShowCaption

Specifies if the toolbar item caption is visible on the parent toolbar.

Note

This setting has no effect when the editor is displayed in a Ribbon UI. Editor caption visibility in a Ribbon UI depends on the layout, form width, etc.

Style | StyleEdit
Specify appearance styles for the toolbar item and its in-place editor.

#Behavior Settings

ScreenTip
Allows you to associate the toolbar edit item with a screen tip (advanced hint).
ShortCut
Specifies the key combination associated with the toolbar edit item.

#General-Purpose API Members

Align
Allows you to position the toolbar edit item within the parent toolbar area.
Description
Specifies the toolbar edit item’s description displayed in the Customization Form.
Enabled
Specifies if the toolbar item and its in-place editor are enabled.
BarManager
Provides access to the parent Bar Manager component.
Visible
Specifies if the toolbar edit item is visible.
Width
Allows you to adjust the width of the in-place editor assigned to the toolbar edit item.

#Terminal TdxCustomBarEdit Class Descendant

Do not use the TdxCustomBarEdit class directly. Use the TcxBarEditItem component instead.

See Also