This documentation is archived and is not being maintained.

IDesignerHost.RootComponent Property

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

[Visual Basic]
ReadOnly Property RootComponent As IComponent
[C#]
IComponent RootComponent {get;}
[C++]
__property IComponent* get_RootComponent();
[JScript]
function get RootComponent() : 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.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IDesignerHost Interface | IDesignerHost Members | System.ComponentModel.Design Namespace

Show: