ComponentFactory.Krypton.Docking.DockingElement.FindPageLocation C# (CSharp) Метод

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

Find the docking location of the named page.
public FindPageLocation ( string uniqueName ) : DockingLocation
uniqueName string Unique name of the page.
Результат DockingLocation
        public virtual DockingLocation FindPageLocation(string uniqueName)
        {
            // Default to not finding the page
            DockingLocation location = DockingLocation.None;

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

            return location;
        }