When a SideBarView is in a Grid Column of Width = "Auto", an InvalidOperationException is thrown with this message:
"Layout measurement override of element 'DevExpress.Wpf.NavBar.SideBarPanel' should not return PositiveInfinity as its DesiredSize, even if Infinity is passed in as available size."
If I use an ExplorerBarView, everything works fine.
Steps to Reproduce:
Here is the code in its simplist form. There are no NavGroupItems defined, but that doesn't matter. The issue appears to be the "Auto" grid wiidth. Setting the grid width or NavBarControl width to a value works. The button is just a control to put something in the other column.
<Window
x:Class="WpfApplication2.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:dxnav="http://schemas.devexpress.com/winfx/2008/xaml/navbar"
Title="Window1" Height="600" Width="600"
>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<dxnav:NavBarControl>
<dxnav:NavBarControl.View>
<dxnav:SideBarView />
</dxnav:NavBarControl.View>
</dxnav:NavBarControl>
<Button Grid.Column="1" Content="BIG BUTTON" />
</Grid>
</Window>