How to: Wrap long texts of the DXNavBar items by creating an ItemTemplate

This example demonstrates how to wrap an item's text onto several lines, if this text is too long. To accomplish this, a template of the NavBarViewBase.ItemTemplate type is created at the view level. This template contains a standard TextBlock control whose TextBlock.TextWrapping property is set to Wrap.

<Application x:Class="LongNavBarItemText.App" xmlns="" xmlns:x="" StartupUri="Window1.xaml">