Based on discussion https://wpftoolkit.codeplex.com/discussions/571591
Comments: ** Comment from web user: BoucherS **
Comments: ** Comment from web user: BoucherS **
Hi,
Thanks for the project attached. It was easier to track.
This bug is already fixed. It will be included in v2.5.
For now, you can go in the Theme.xaml file of AvalonDock, search for the style targeting
avalonDockControls:LayoutDocumentControl
In its ContentPresenter,
replace the Content from
Content="{Binding LayoutItem.View.Content, RelativeSource={RelativeSource TemplatedParent}}"
to
Content="{Binding LayoutItem.View, RelativeSource={RelativeSource TemplatedParent}}"