IDesignerHost.RootComponent Property


Gets the instance of the base class used as the root component for the current design.

 property System::ComponentModel::IComponent ^ RootComponent { System::ComponentModel::IComponent ^ get(); };
public System.ComponentModel.IComponent RootComponent { get; }
member this.RootComponent : System.ComponentModel.IComponent
Public ReadOnly Property RootComponent As IComponent

Property Value

The instance of the root component class.


This base class is typically a Form or UserControl instance; it defines the class for which the user's derived class extends.

Applies to