IDesignerHost.RootComponent Property


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

Namespace:   System.ComponentModel.Design
Assembly:  System (in System.dll)

IComponent RootComponent { get; }

Property Value

Type: System.ComponentModel.IComponent

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.

.NET Framework
Available since 1.1
Return to top