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;
}