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

Link

NavBar items are displayed within a group with the help of links. A link is a TdxNavBarItemLink object which represents a reference to a specific item. The caption, hint text and image displayed by a link are obtained from properties of the corresponding item object.

You can create several links for one item within different groups. Clicking any of these links will activate the same item functionality, which is implemented via:

  • the Execute method of the action object assigned to the item’s Action property (this method fires the OnExecute event)

  • the item’s OnClick event.

For detailed information on link management, please refer to the Selecting and Clicking Links topic.

Each group stores its internal collection of links. You can access individual links via the Links property of a group.

The following image shows the relationship between a group, item and link.

See Also