ComponentFactory.Krypton.Docking.KryptonDockingSpace.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 override KryptonPage PropogatePageState(DockingPropogatePageState state, string uniqueName)
        {
            switch (state)
            {
                case DockingPropogatePageState.PageForUniqueName:
                    {
                        // If we have the requested name page and it is not a placeholder then we have found it
                        KryptonPage page = SpaceControl.PageForUniqueName(uniqueName);
                        if ((page != null) && !(page is KryptonStorePage))
                            return page;
                    }
                    break;
            }

            // Let base class perform standard processing
            return base.PropogatePageState(state, uniqueName);
        }