Skip to main content

TdxBarItemLinks Class

TdxBarItemLinks represents a collection of TdxBarItemLink elements in bar controls or subitems.

Declaration

TdxBarItemLinks = class(
    TCollection
)

Remarks

Each TdxBarItemLinks class holds a set of TdxBarItemLink objects which represent links between TdxBarManager items and corresponding item controls. The TdxBarItemLinks object stores information on the number, behavior, and appearance of the newly created item controls for toolbars, popup menus, and submenus. For instance, every toolbar uses the ItemLinks property of the TdxBarItemLinks type to specify the items that have linked item controls on the toolbar.

The TdxBarItemLinks inherits methods and properties from TCollection:

  • Use the Add method to add TdxBarItemLink objects to the TdxBarItemLinks collection.

  • Use the Clear method to remove all item links from the TdxBarItemLinks object.

  • The Count property contains the number of item links in TdxBarItemLinks.

Inheritance

See Also