Skip to main content

NavigationBarItem Class

Represents an item in the OfficeNavigationBar control.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.1.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