ComponentFactory.Krypton.Docking.DockingElement.PropogatePageList C# (CSharp) Method

PropogatePageList() public method

Propogates a page list request down the hierarchy of docking elements.
public PropogatePageList ( DockingPropogatePageList state, KryptonPageCollection pages ) : void
state DockingPropogatePageList Request that should result in pages collection being modified.
pages KryptonPageCollection Pages collection for modification by the docking elements.
return void
        public virtual void PropogatePageList(DockingPropogatePageList state, KryptonPageCollection pages)
        {
            // Propogate the action request to all the child elements
            // (use reverse order so if element removes itself we still have a valid loop)
            for (int i = Count - 1; i >= 0; i--)
                this[i].PropogatePageList(state, pages);
        }