public override IDockingElement ResolvePath(string path)
{
// Cannot resolve a null reference
if (path == null)
throw new ArgumentNullException("path");
// Path names cannot be zero length
if (path.Length == 0)
throw new ArgumentException("path");
// Give each child a chance to resolve the entire path
foreach (IDockingElement child in this)
{
IDockingElement ret = child.ResolvePath(path);
if (ret != null)
return ret;
}
return null;
}