void SaveLayout(XmlWriter xmlWriter, DockableContent content)
        {
            Debug.Assert(!string.IsNullOrEmpty(content.Name),
            "DockableContent must have a Name to save its content.\n" +
            "Click Ignore to skip this element and continue with save."
            );

            if (!string.IsNullOrEmpty(content.Name))
            {
                xmlWriter.WriteStartElement("DockableContent");

                xmlWriter.WriteAttributeString("Name", content.Name);

                content.SaveLayout(xmlWriter);

                xmlWriter.WriteEndElement();
            }
        }
        void SaveLayout(XmlWriter xmlWriter, DockableContent content)
        {
            /*
                * CHANGE
               */

            if (this.bLayoutUseExcludedContents)
                if (this.excludedContents != null)
                    if (this.excludedContents.Contains(content))
                        return;
            /*
             * END CHANGE
            */

            Debug.Assert(!string.IsNullOrEmpty(content.Name),
            "DockableContent must have a Name to save its content.\n" +
            "Click Ignore to skip this element and continue with save."
            );

            if (!string.IsNullOrEmpty(content.Name))
            {
                xmlWriter.WriteStartElement("DockableContent");

                xmlWriter.WriteAttributeString("Name", content.Name);

                content.SaveLayout(xmlWriter);

                xmlWriter.WriteEndElement();
            }
        }