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.
Title="Window1" Height="600" Width="600"
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
<Button Grid.Column="1" Content="BIG BUTTON" />
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.