windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-officenavigationbar-827a822e.md
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
[DefaultValue(OfficeNavigationBarViewMode.Default)]
[DXCategory("Appearance")]
public OfficeNavigationBarViewMode ViewMode { get; set; }
<DefaultValue(OfficeNavigationBarViewMode.Default)>
<DXCategory("Appearance")>
Public Property ViewMode As OfficeNavigationBarViewMode
| 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;
Skinned — the active item is highlighted using a background color that depends on the current skin.
See Also