Freigeben über


DesignSurfaceExtension Members

Include Protected Members
Include Inherited Members

The base class for any object provided by a VSPackage to be called by the Visual Studio environment upon designer creation to customize or extend services and metadata provided by any implementation of DesignSurface.

The DesignSurfaceExtension type exposes the following members.

Constructors

  Name Description
Protected method DesignSurfaceExtension Create a new instance of the DesignSurfaceExtension class.

Top

Methods

  Name Description
Public method Dispose() Disposes this object and its resources.
Protected method Dispose(Boolean) Disposes this object and its resources.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Destroys the object. (Overrides Object.Finalize().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Initialize Initializes the design surface extension.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method OnComponentCreated This method is called when a new component is created but before that component is added to the designer.
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.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Protected property Surface Gets the design surface this extension was initialized with.

Top

See Also

Reference

DesignSurfaceExtension Class

Microsoft.VisualStudio.Shell.Design Namespace