IDesignerHost.RootComponent Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.