共用方式為


DesignSurfaceExtension.OnDesignerCreated Method

Include Protected Members
Include Inherited Members

This method is called when a new designer is created.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method OnDesignerCreated(IDesigner) Obsolete. This method is called when a new designer is created.
Public method OnDesignerCreated(IComponent, IDesigner, Boolean) This method is called when a new designer is created.

Top

Remarks

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

See Also

Reference

DesignSurfaceExtension Class

Microsoft.VisualStudio.Shell.Design Namespace

DesignSurfaceExtensionAttribute

DesignSurfaceExtension

DesignSurface

IDesigner

IDesignerHost

Other Resources

Extending Design-Time Support