# 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](https://www.telerik.com/products/wpf/documentation/controls/radofficenavigationbar/navigation-options).

## 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](https://www.telerik.com/products/wpf/documentation/controls/radofficenavigationbar/custom-content) article.

**Setting the display mode to compact**

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

**Setting the display mode to compact in code**

```C#
this.radOfficeNavigationBar.IsInCompactMode = true;
```

```VB.NET
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](https://www.telerik.com/products/wpf/documentation/controls/radofficenavigationbar/custom-content) article.

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

## See Also

* [Custom Content](https://www.telerik.com/products/wpf/documentation/controls/radofficenavigationbar/custom-content)
* [Navigation Options](https://www.telerik.com/products/wpf/documentation/controls/radofficenavigationbar/navigation-options)
* [Peek Popup](https://www.telerik.com/products/wpf/documentation/controls/radofficenavigationbar/peek-popup)
