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

TdxBarItemLink Class

A link between an item and the item control which is created using the information from the corresponding item and link.

Declaration

TdxBarItemLink = class(
    TcxInterfacedCollectionItem,
    IdxBarSelectableItem,
    IdxAdornerTargetElement
)

Remarks

Instances of this type are stored in TdxBarItemLinks. TdxBarItemLink is the link between an item and item control on the bar control. The item link’s Control property refers to the item control.

Do not use item controls directly, use the corresponding item links instead. If you wish to add or remove an existing link from the ItemLinks property of any TdxBar, TdxBarPopupMenu, TCustomdxBarSubItem class or their descendants, do it at the TdxBarItemLink and TdxBarItemLinks level(s).

The published properties of TdxBarItemLink are stored in the registry if defined in a corresponding TdxBarManager. Use the TdxBarItemLink methods and properties to customize the look of a particular item control. The easiest way to define the look of the item control is to use the customizing popup menu. To activate the customizing popup menu, click the right mouse button on the item control.

To access bar item link properties at design time, select a bar item control, invoke its customizing popup menu, and click “Select Link”.

See Also