public virtual IDockingElement FindPageElement(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].FindPageElement(uniqueName);
if (dockingElement != null)
break;
}
return dockingElement;
}