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
'宣言
<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
)
Parameters
- designer
Type: System.ComponentModel.Design.IDesigner
The 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