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

NavigationBarItem Class

Represents an item in the OfficeNavigationBar control.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

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

The following members return NavigationBarItem objects:

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