Skip to main content

OfficeNavigationBar.ViewMode Property

Gets or sets the mode that specifies how to display items and highlight the active item.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


public OfficeNavigationBarViewMode ViewMode { get; set; }

Property Value

Type Default Description
DevExpress.XtraBars.Navigation.OfficeNavigationBarViewMode Default

An DevExpress.XtraBars.Navigation.OfficeNavigationBarViewMode enumeration value that specifies how to display items and highlight the active item.


Use the ViewMode property to specify how the Office Navigation Bar is displayed:

  • Default — the same as Office;
  • Office — the Office 2013-inspired view that supports borderless buttons;


  • Tab — the Office 2019-inspired view that supports animated underlines highlighting the active item;


    The OfficeNavigationBar.OptionsTabView property provides access to tab view options.

    The customization button (see OfficeNavigationBar.CustomizationButtonVisibility) is hidden in this mode by default.

  • Skinned — the active item is highlighted using a background color that depends on the current skin.


See Also