Back to Devexpress

OfficeNavigationBar.ViewMode Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-officenavigationbar-827a822e.md

latest2.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(OfficeNavigationBarViewMode.Default)]
[DXCategory("Appearance")]
public OfficeNavigationBarViewMode ViewMode { get; set; }
vb
<DefaultValue(OfficeNavigationBarViewMode.Default)>
<DXCategory("Appearance")>
Public Property ViewMode As OfficeNavigationBarViewMode

Property Value

TypeDefaultDescription
DevExpress.XtraBars.Navigation.OfficeNavigationBarViewModeDefault

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

|

Remarks

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;

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

See Also

OptionsTabView

OfficeNavigationBar Class

OfficeNavigationBar Members

DevExpress.XtraBars.Navigation Namespace