public FindDockingEdgeDocked ( string uniqueName ) : KryptonDockingEdgeDocked | ||
uniqueName | string | Named page for which a suitable docking edge element is required. |
return | 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;
}