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

PropogatePageState() public method

Propogates a page request down the hierarchy of docking elements.
public PropogatePageState ( DockingPropogatePageState state, string uniqueName ) : KryptonPage
state DockingPropogatePageState Request that should result in a page reference if found.
uniqueName string Unique name of the page the request relates to.
return ComponentFactory.Krypton.Navigator.KryptonPage
        public virtual KryptonPage PropogatePageState(DockingPropogatePageState state, string uniqueName)
        {
            // Search all child docking elements
            for (int i = 0; i < Count; i++)
            {
                // If the child knows the answer then return it now
                KryptonPage page = this[i].PropogatePageState(state, uniqueName);
                if (page != null)
                    return page;
            }

            return null;
        }