Back to Devexpress

NavigationBarItem Class

windowsforms-devexpress-dot-xtrabars-dot-navigation-1d922fe1.md

latest3.0 KB
Original Source

NavigationBarItem Class

Represents an item in the OfficeNavigationBar control.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public class NavigationBarItem :
    Component,
    ISupportCommandBinding,
    ISupportAdornerElement,
    IUpdateAdornerUI,
    IImageDropInfo
vb
Public Class NavigationBarItem
    Inherits Component
    Implements 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

Object MarshalByRefObject Component NavigationBarItem

See Also

NavigationBarItem Members

Items

ItemClick

DevExpress.XtraBars.Navigation Namespace