DesignSurfaceExtension::OnDesignerCreated Method (IComponent^, IDesigner^, Boolean)
Visual Studio 2015
This method is called when a new designer is created.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
public: virtual void OnDesignerCreated( IComponent^ component, IDesigner^ designer, bool rootDesigner )
Parameters
- component
-
Type:
System.ComponentModel::IComponent^
The component that has been created.
- designer
-
Type:
System.ComponentModel.Design::IDesigner^
The designer that has been created.
- rootDesigner
-
Type:
System::Boolean
The root designer.
| Exception | Condition |
|---|---|
| ArgumentNullException | designer is null. |
You may freely change metadata of the designer at this time. The default implementation does nothing.
Show: