Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxNavBar Class

A NavBar control.

#Declaration

Delphi
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