AvalonDock: cannot control pane visibility after loading layout via serializer

AvalonDock: cannot control pane visibility after loading layout via serializer

Hi,

I’m using the latest AvalonDock (3.4.17280.14430) and have a layout in which I want to be able to hide and show panes. My code works fine with the default dock layout, but once the layout has been saved and re-loaded using XmlLayoutSerializer the hiding and showing of panes no longer works.

I’ve created a bare minimum WPF project that displays the problem, which I think must be a bug within AvalonDock. I can cut-and-paste the XAML and code here or email it in – please advise.

Many thanks,
Chris