IRootDesigner Interface

 
System_CAPS_noteNote

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

Provides support for root-level designer view technologies.

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

[<ComVisibleAttribute(true)>]
type IRootDesigner = 
    interface
        interface IDesigner
        interface IDisposable
    end

NameDescription
System_CAPS_pubpropertyComponent

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

System_CAPS_pubpropertySupportedTechnologies

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

System_CAPS_pubpropertyVerbs

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

NameDescription
System_CAPS_pubmethodDispose()

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

System_CAPS_pubmethodDoDefaultAction()

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

System_CAPS_pubmethodGetView(ViewTechnology)

Gets a view object for the specified view technology.

System_CAPS_pubmethodInitialize(IComponent)

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
Show: