IDesignerHost.RootComponent Property

Definition

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

public:
 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.

Remarks

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

Applies to