Aracılığıyla paylaş


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

'Bildirim
<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

Remarks

You may freely change metadata of the designer at this time. The default implementation does nothing.

.NET Framework Security

See Also

Reference

DesignSurfaceExtension Class

OnDesignerCreated Overload

Microsoft.VisualStudio.Shell.Design Namespace

DesignSurfaceExtensionAttribute

DesignSurfaceExtension

DesignSurface

IDesigner

IDesignerHost

Other Resources

Extending Design-Time Support