Docking: Setting a pane's IsHidden property before the layout is loaded results in an invalid state of the pane
If the IsHidden property of a pane is set before the LoadLayout method is called and it also sets the IsHidden property of the pane, it is left in an invalid state - with wrong visibility.