ComponentFactory.Krypton.Docking.KryptonDockingManager.LoadConfigFromStream C# (CSharp) Method

LoadConfigFromStream() public method

Loads docking configuration information from given stream object.
public LoadConfigFromStream ( Stream stream ) : void
stream Stream Stream object.
return void
        public void LoadConfigFromStream(Stream stream)
        {
            XmlTextReader xmlReader = new XmlTextReader(stream);
            xmlReader.WhitespaceHandling = WhitespaceHandling.None;
            xmlReader.MoveToContent();

            // Use existing method to load from xml
            LoadConfigFromXml(xmlReader);
            xmlReader.Close();
        }
KryptonDockingManager