Hi,
I have checked again with V2.2.1 and all is OK in all my views. I updated again to V2.3 and the problem comes straight back. I have DocumentsSource bound to an ObservableCollection of ViewModels:
It seems quite like an old problem where the view is being recreated every time a tab is selected.
I also now get lots of ResourceDictionary warnings:
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='TransparentBrush'
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='ScrollVerticalInnerBorderBrush'
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='TransparentBrush'
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='ScrollVerticalInnerBackgroundBrush'
I don't have time right now to go into further detail but if there is any specific piece of information that may help let me know.
Thanks
I have checked again with V2.2.1 and all is OK in all my views. I updated again to V2.3 and the problem comes straight back. I have DocumentsSource bound to an ObservableCollection of ViewModels:
<avalonDock:DockingManager x:Name="AvalonDockingManager"
AnchorablesSource="{Binding ToolsWorkspaces, Mode=TwoWay}"
DocumentsSource="{Binding Workspaces, Mode=TwoWay}"
ActiveContent="{Binding ActiveWorkspace, Mode=TwoWay,
Converter={StaticResource ActiveContentConverter}}"
Theme="{StaticResource VS2010Theme}">
The views are created using DataTemplates.It seems quite like an old problem where the view is being recreated every time a tab is selected.
I also now get lots of ResourceDictionary warnings:
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='TransparentBrush'
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='ScrollVerticalInnerBorderBrush'
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='TransparentBrush'
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='ScrollVerticalInnerBackgroundBrush'
I don't have time right now to go into further detail but if there is any specific piece of information that may help let me know.
Thanks