diff --git a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutRoot.cs b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutRoot.cs index 8e10365e4..d311a2647 100644 --- a/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutRoot.cs +++ b/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.AvalonDock/Layout/LayoutRoot.cs @@ -672,6 +672,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 )