IRootDesigner Interface


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Provides support for root-level designer view technologies.

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

type IRootDesigner = 
        interface IDesigner
        interface IDisposable


Gets the base component that this designer is designing.(Inherited from IDesigner.)


Gets the set of technologies that this designer can support for its display.


Gets a collection of the design-time verbs supported by the designer.(Inherited from IDesigner.)


Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.(Inherited from IDisposable.)


Performs the default action for this designer.(Inherited from IDesigner.)


Gets a view object for the specified view technology.


Initializes the designer with the specified component.(Inherited from IDesigner.)

A root designer is the designer that is in the top position, or root, of the current design-time document object hierarchy. A root designer must implement the IRootDesigner interface. A root designer typically manages the background view in designer view mode, and usually displays the controls within the base container of the current design time project.

The following code example demonstrates a IRootDesigner implementation associated with a sample user control. This IRootDesigner implementation displays a control for the background view in designer view by overriding the GetView method. You need to add a reference to the System.Design assembly to compile the example.

To use this example, add the source code to a project and show the RootViewSampleComponent in designer view to display the custom root designer view.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top