/// <summary>Gets the name of the specified component, or null if the component has no name.</summary>
/// <returns>The name of the specified component.</returns>
/// <param name="component">The specified component.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="component" /> is null.</exception>
public virtual string GetFullComponentName(object component)
{
if (_parent != null)
{
return(_parent.GetFullComponentName(component));
}
return(GetTypeDescriptor(component).GetComponentName());
}