diff --git a/source/Components/Xceed.Wpf.AvalonDock/Layout/LayoutRoot.cs b/source/Components/Xceed.Wpf.AvalonDock/Layout/LayoutRoot.cs index 88d74e86..48418eed 100644 --- a/source/Components/Xceed.Wpf.AvalonDock/Layout/LayoutRoot.cs +++ b/source/Components/Xceed.Wpf.AvalonDock/Layout/LayoutRoot.cs @@ -674,6 +674,9 @@ public void ReadXml( XmlReader reader ) { this.Hidden.Add( ( LayoutAnchorable )hiddenObject ); } + + //Read the closing end element of LayoutRoot + reader.ReadEndElement(); } public void WriteXml( XmlWriter writer )