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

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

Find a edge docked element by searching the hierarchy.
public FindDockingEdgeDocked ( string uniqueName ) : KryptonDockingEdgeDocked
uniqueName string Named page for which a suitable docking edge element is required.
Результат KryptonDockingEdgeDocked
        public virtual KryptonDockingEdgeDocked FindDockingEdgeDocked(string uniqueName)
        {
            // Default to not finding the element
            KryptonDockingEdgeDocked edgeDockedElement = null;

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

            return edgeDockedElement;
        }