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

TdxNavBar Class

A NavBar control.

Declaration

TdxNavBar = class(
    TdxCustomNavBar
)

Remarks

The NavBar control allows you to display a number of grouped links. Groups of links can be expanded/collapsed in order to show/hide their contents. You can process link click events in order to perform desired actions.

The NavBar control provides two different groups layouts. It can be represented either in a Side Bar or Explorer Bar configuration. Each method of control representation includes a number of painting styles. The NavBar supports 20 different painting styles, which can be customized via the style designer, or by means of implementing custom drawing of control elements. Options controlling the functionality and appearance of the NavBar control are grouped into the following option sets: OptionsBehavior, OptionsImage, OptionsStyle, and OptionsView.

The TdxNavBar class contains two properties representing collections of groups and items. Groups are accessed via the Groups property. Each group within the collection contains its collection of links. Links reference items, which are stored in the Items property of the control. Such a structure allows you to display links to the same item in different groups.

See Also