TheCamel has uploaded a patch.
Description:
The solution...to be improved with a DP on the DockManager
1 - add KeepViewTabControl class
2 - inherit from it in LayoutDocumentPaneControl and LayoutAnchorablePaneControl
note that it allways work like before
4 - copy DocumentPaneControlStyle and AnchorablePaneControlStyle
5 - rename them (AnchorablePaneControlKeepViewStyle and DocumentPaneControlKeepViewStyle) and replace the content presenter like in the first web link i send you, like below
<!--<ContentPresenter x:Name="PART_SelectedContentHost"
ContentSource="SelectedContent"
Margin="{TemplateBinding Padding}"
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>-->
<Grid x:Name="PART_ItemsHolder" />
6 - override the DockManager style and use it
<!--DockingManager-->
<Style x:Key="DockingManagerKeepViewStyle" TargetType="{x:Type avalonDock:DockingManager}">
<Setter Property="DocumentPaneControlStyle" Value="{StaticResource DocumentPaneControlKeepViewStyle}"/>
<Setter Property="AnchorablePaneControlStyle" Value="{StaticResource AnchorablePaneControlKeepViewStyle}"/>
7 - would be nice to have a dependency property "KeepView" that change the style internally
I send you a reduced patch. Your demo sample is now working !
Remain at your disposal