ComponentFactory.Krypton.Docking.KryptonDockingEdgeAutoHidden.LoadChildDockingElement C# (CSharp) Method

LoadChildDockingElement() protected method

Perform docking element specific actions for loading a child xml.
protected LoadChildDockingElement ( XmlReader xmlReader, KryptonPageCollection pages, IDockingElement child ) : void
xmlReader XmlReader Xml reader object.
pages KryptonPageCollection Collection of available pages.
child IDockingElement Optional reference to existing child docking element.
return void
        protected override void LoadChildDockingElement(XmlReader xmlReader,
                                                        KryptonPageCollection pages,
                                                        IDockingElement child)
        {
            if (child != null)
                child.LoadElementFromXml(xmlReader, pages);
            else
            {
                // Create a new auto hidden group and then reload it
                KryptonDockingAutoHiddenGroup autoHiddenGroup = AppendAutoHiddenGroup(xmlReader.GetAttribute("N"));
                autoHiddenGroup.LoadElementFromXml(xmlReader, pages);
            }
        }