New to Telerik UI for WPF? Download free 30-day trial

Display Modes

RadOfficeNavigationBar offers different item display modes that indicate whether the items are visualized in a compact or default mode. This is controlled by the IsInCompactMode property. You can also change the IsInCompactMode property's value through the UI via the navigation options window.

Compact

When this mode is active, RadOfficeNavigationBar will use the values set to the CompactContent, CompactContentTemplate, and CompactContentTemplateSelector properties of each RadOfficeNavigationBarItem element. You can learn more about these properties in the Custom Content article.

Setting the display mode to compact

<telerik:RadOfficeNavigationBar x:Name="radOfficeNavigationBar" IsInCompactMode="True"/> 

Setting the display mode to compact in code

this.radOfficeNavigationBar.IsInCompactMode = true; 
Me.radOfficeNavigationBar.IsInCompactMode = True 

Default

This items' display mode is the default one. RadOfficeNavigationBar will use the values set to the Content, ContentTemplate, and ContentTemplateSelector properties of each RadOfficeNavigationBarItem element. You can learn more about these properties in the Custom Content article.

To use this display mode, set the IsInCompactMode property of RadOfficeNavigationBar to False.

See Also

In this article