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

NavigationBarItem Class

Represents an item in the OfficeNavigationBar control.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public class NavigationBarItem :
    Component,
    ISupportCommandBinding,
    ISupportAdornerElement,
    IUpdateAdornerUI,
    IImageDropInfo

#Remarks

Use the OfficeNavigationBar.Items collection to add items to the OfficeNavigationBar.

Each item is rendered as a text label. The item’s caption is specified by the NavigationBarItem.Text property. If the OfficeNavigationBar.AllowHtmlDraw option is enabled, you can use certain HTML tags to format the item’s text. This feature is only supported when item text is horizontally oriented. See HTML Text Formatting to learn more.

For more information on items, see the OfficeNavigationBar.Items topic.

#Inheritance

See Also