Back to Devexpress

NavBarControl.Compact Property

wpf-devexpress-dot-xpf-dot-navbar-dot-navbarcontrol.md

latest1.8 KB
Original Source

NavBarControl.Compact Property

Toggles the Navigation Bar’s Compact mode on or off.

Namespace : DevExpress.Xpf.NavBar

Assembly : DevExpress.Xpf.NavBar.v25.2.dll

NuGet Package : DevExpress.Wpf.NavBar

Declaration

csharp
public bool Compact { get; set; }
vb
Public Property Compact As Boolean

Property Value

TypeDescription
Boolean

true, if the Compact mode is enabled; otherwise, false.

|

Remarks

By default, the NavBarControl functions in Compact mode. Disabling this mode for the NavigationPane View will hide all visual elements, leaving only the currently active group and its items visible. Do this only if you use the Navigation Bar as an item source for an Office Navigation Bar. Otherwise, leave the Compact property in its default state. See the Office Navigation Bar article to learn more.

See Also

Office Navigation Bar

NavBarControl Class

NavBarControl Members

DevExpress.Xpf.NavBar Namespace