Back to Devexpress

TdxBarItemLinks Class

vcl-dxbar-2b80c0d8.md

latest2.0 KB
Original Source

TdxBarItemLinks Class

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

Declaration

delphi
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

TObject TPersistent TCollection TdxBarItemLinks

See Also

How to Add Custom Items to a Toolbar's Popup Menu

TdxBarItemLinks Members

dxBar Unit