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

PageForUniqueName() public method

Find the page reference that has the requested unique name.
public PageForUniqueName ( string uniqueName ) : KryptonPage
uniqueName string Unique name of page that should be found.
return KryptonPage
        public KryptonPage PageForUniqueName(string uniqueName)
        {
            // Cannot find a null reference
            if (uniqueName == null)
                throw new ArgumentNullException("uniqueName");

            // Unique names cannot be zero length
            if (uniqueName.Length == 0)
                throw new ArgumentException("uniqueName cannot be zero length");

            // Search docking hierarchy for the requested page
            return PropogatePageState(DockingPropogatePageState.PageForUniqueName, uniqueName);
        }
KryptonDockingManager