ComponentFactory.Krypton.Docking.KryptonDockingFloatspace.FindStorePageElement C# (CSharp) Метод

FindStorePageElement() публичный Метод

Find the docking element that contains the location specific store page for the named page.
public FindStorePageElement ( DockingLocation location, string uniqueName ) : IDockingElement
location DockingLocation Location to be searched.
uniqueName string Unique name of the page to be found.
Результат IDockingElement
        public override IDockingElement FindStorePageElement(DockingLocation location, string uniqueName)
        {
            if (location == DockingLocation.Floating)
            {
                KryptonPage page = FloatspaceControl.PageForUniqueName(uniqueName);
                if ((page != null) && (page is KryptonStorePage))
                    return this;
            }

            return null;
        }