[DevExpress Support Team: CLONED FROM T290680: Problem with BackstageViewControl and MVVM]
Hello,
I'm using BackstageViewControl with MVVM.
Second problem is when I clear data model and set SelectedTab to null and IsOpen to false, control pane area is not cleared (Image 03).
On Image 02 is visible what is control pane show when is selected first tab.
Here is code how I bind BackstageViewControl to model
XAML <dxr:BackstageViewControl x:Name="menuControl"
IsOpen="{Binding IsOpen,
Mode=TwoWay,
UpdateSourceTrigger=PropertyChanged}"
RibbonStyle="Office2010"
SelectedTab="{Binding SelectedMenuItem,
Mode=TwoWay,
UpdateSourceTrigger=PropertyChanged}"
TabPaneMinWidth="200">
<dxr:BackstageTabItem x:Name="btiMonitoring"
Content="{x:Static pres:Resources.mainMenuMonitoring}"
Visibility="{Binding MenuList_Monitoring_IsVisible,
Converter={StaticResource boolToVisibilityConverter}}">
<dxr:BackstageTabItem.ControlPane>
<dxlc:TileLayoutControl ItemTemplate="{StaticResource MenuTileTemplate}"
ItemsSource="{Binding MenuList_Monitoring}"
Style="{StaticResource MainMenuTileStyle}" />
</dxr:BackstageTabItem.ControlPane>
</dxr:BackstageTabItem>
...
Regards
Hello,
We have reproduced the issue and I passed this ticket to our developers for further research. We’ll update this thread as soon as we make any progress.
Thanks,
Nadya