ComponentFactory.Krypton.Docking.DockingElement.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 virtual IDockingElement FindStorePageElement(DockingLocation location, string uniqueName)
        {
            // Default to not finding the element
            IDockingElement dockingElement = null;

            // Search all child docking elements
            for (int i = 0; i < Count; i++)
            {
                dockingElement = this[i].FindStorePageElement(location, uniqueName);
                if (dockingElement != null)
                    break;
            }

            return dockingElement;
        }