DesignSurfaceExtension.OnDesignerCreated Method (IDesigner)
Note: This API is now obsolete. The non-obsolete alternative is OnDesignerCreated.
This method is called when a new designer is created.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
<ObsoleteAttribute("Override the version of OnDesignerCreated that takes a component, designer and boolean flag")> _
Public Overridable Sub OnDesignerCreated ( _
designer As IDesigner _
)
[ObsoleteAttribute("Override the version of OnDesignerCreated that takes a component, designer and boolean flag")]
public virtual void OnDesignerCreated(
IDesigner designer
)
[ObsoleteAttribute(L"Override the version of OnDesignerCreated that takes a component, designer and boolean flag")]
public:
virtual void OnDesignerCreated(
IDesigner^ designer
)
[<ObsoleteAttribute("Override the version of OnDesignerCreated that takes a component, designer and boolean flag")>]
abstract OnDesignerCreated :
designer:IDesigner -> unit
[<ObsoleteAttribute("Override the version of OnDesignerCreated that takes a component, designer and boolean flag")>]
override OnDesignerCreated :
designer:IDesigner -> unit
public function OnDesignerCreated(
designer : IDesigner
)
Parameters
designer
Type: System.ComponentModel.Design.IDesignerThe designer that has been created.
Remarks
You may freely change metadata of the designer at this time. The default implementation does nothing.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Shell.Design Namespace
DesignSurfaceExtensionAttribute