ComponentFactory.Krypton.Docking.DockingElementClosedCollection.InternalInsert C# (CSharp) Method

InternalInsert() protected method

Insert a docking element to the collection.
protected InternalInsert ( int index, IDockingElement item ) : void
index int Insertion index.
item IDockingElement IDockingElement reference.
return void
        protected virtual void InternalInsert(int index, IDockingElement item)
        {
            // Hook up the parent relationship, it is the responsability of the 'item'
            // to check that its name does not already exist in our collection.
            item.Parent = this;

            _elements.Insert(index, item);
        }